Basic Spring configuration test using Beanoh 3

Basic Spring configuration test using Beanoh
When using Spring con­texts, it is easy to mis­con­fig­ure. Espe­cially when mix­ing XML and anno­ta­tion con­fig­u­ra­tions. So we all (should) include a unit test that ensures that at least the Spring con­fig­u­ra­tion is OK, before we go and test the func­tion­al­ity itself. I thought that there must be a more generic way of doing this ...

Boosting local performance with Vaadin using Jetty 7 / 8 1

When your are gen­er­at­ing a new Vaadin project using one of the sup­plied arche­types, it comes with a jetty plu­gin con­fig­u­ra­tion which allows you to quickly run the appli­ca­tion using mvn pack­age jetty:run. Nice, but then often you have to wait, since Jetty 6 some­how takes very long to use the Vaadin Wid­get­set. Want to ...

Logging, which framework to choose? Log4J, Commons Logging, LogBack, SLF4J? 8

Log­ging is part of every appli­ca­tion we cre­ate and most of the time we do not use java’s own Java Util Log­ging frame­work. Most devel­op­ers and archi­tects use Jakarta Com­mons Log­ging (JCL) in com­bi­na­tion with Log4J. But what about SLF4J instead of JCL? Although more and more frame­works are using it, a lot of devel­op­ers ...

Charmed by Vaadin

Since my visit to Devoxx last novem­ber, I have been charmed by Vaadin. Although it is a very dif­fer­ent way of cre­at­ing your web appli­ca­tion GUI, since every­thing is done in Java, it has poten­tial. Java devel­op­ers are most of the time not very good in cre­at­ing user inter­faces, so the styling and lay­out is ...

Reusing unit test support classes across maven modules

Dur­ing a project I encoun­tered a prob­lem reusing my builder classes I was using to cre­ate my test fix­tures. I wanted to use them in both my web­ser­vice project as my ser­vice layer project. Nor­mally it is not a prob­lem to use a mod­ule as a depen­dency, but I had never had the need to ...