In a previous blog on TDD I advocated that you should define your test on a high level. One of the reasons why you should use a high level language is that you can use your tests not only for your API but also for for instance your UI. In this blog I will show [...]
Recently I found out about Springs ClassPathScanningCandidateComponentProvider. This class allows you to scan the classpath from a base package at runtime. This is extremely handy in all kind of situations, for instances in testing.
Hibernate’s SessionFactory has some very powerful functions available like generating your tables from your hbm files using the hbm2ddl.auto property. This is very handy for laptop testing where you can let hibernate generate your complete scheme on the fly.
Although useful on your laptop, it is probably not want you want to do in a real [...]
The jetty-maven-plugin is a real life saver when it comes to developing web applications. In the past I had such horrible experiences with the eclipse WTP plugin that I banned it from my toolset forever.
For a year now I use the jetty-maven-plugin and it makes developing so much easier. In this blog I will give [...]