poniedziałek, 21 grudnia 2015

paas research

I think in one or two weeks I will have my prototypal app written in Spring using quartz and the question is - where to put it.

http://www.javaworld.com/article/2078647/open-source-tools/which-freaking-paas-should-i-use-.html

above material helped me a lot
there are several options, let's list any here

Google App Engine

+ free
- sandbox
- limited JRE libraries

Cloud Foundry

- probably expensive (can't run spring boot on 128 RAM)
+ portable
+ very Spring oriented

Heroku

- rather Ruby-centric

Cloudbees

- expensive
- where on this page can I find JAVA HOSTING?


I think I will try cloud foundry

piątek, 11 grudnia 2015

composition > inheritance

effective Java,
Item 16
Do only things that you want to do. If you mean subclassing you have to be completely sure B means A if B inherits A. If you just want to use some features - compose. If you compose you can feel like composer :)
As written here in "Effective java" there are other libaries used widely that break this rule. But never follow bad path.

czwartek, 10 grudnia 2015

Maven vs Gradle

It cannot be said that there is better build system.
When we have a choice we have to make good choice. Gradle has come and has many nice feautures. You can really program it as regular application. But if your project is relatively small maybe it is not needed, cause as we can find on linked article, this can bring some related problems.

Be wise

https://dzone.com/articles/maven-vs-gradle-one-year-later


Sometimes I read something.
Something can disappear very quickly if you do not put effort to remember it.
Write it down.
That's my idea.