-
Nei precedenti articoli abbiamo visto come creare un applicazione Java agile, evitando il blasone delle specifiche J2EE. Dopo aver valutato (scartandola) una soluzione 2-tier molto simile a quelle fattibili in PHP, ci siamo focalizzati su una soluzione basata su Spring.
Read More -
April 0.2 Application Performance Framework
Apr 15, 2009 · 3 min read ·April (Application Performance Framework) is a super-light application framework based on Spring, featuring:
Read More -
Inversion of Control (IoC) is a very good idea.
But as the clever Joel Spolsky noted, sometimes you need to be a super-natural hero to use it:
… I try not to be judgemental (HAHA!), but I think that people who use IoC containers are (A) very smart and (B) lacking in empathy for people who aren't as smart as they are. Everything makes perfect sense to them, so they have trouble understanding that many ordinary programmers will find the concepts confusing. It's the curse of knowledge. The people who understand IoC containers have trouble believing that there are people who don't understand it. …
I have trouble using Spring in at least two projects. On the third, it was a disaster, because a single software-architect-guy keeps passing around the Spring context factory as method parameter, getting beans from it!
Read More -
If you have an application with thousand of beans, you must do unit testing but…Spring testing is boring, belive me. A very complex Spring application usually have a lot of dependency: I had to manage over 3000 beans definitions in a production project right now. Sometimes you want only to test a bit of it, and setting up a complete Spring Context will drive you crazy. To avoid losing mind, my suggestion is to …cheat. Let’see how.
Read More -
There is very handy feature of SpringBoot which is called Dev tools. Dev tools enable hot reloading of spring-boot- based application every time your IDE recompile the code.
Read More -
Today I have an hard time using the @Profile directive for enable feature toggle on Spring, so I decided to write a small guide on it.
Read More -
With new JDK, when you compile a spring-boot application you get a big jar which cannot be included as utility jar anymore.
Read More