Enterprise Java
-

Spring 3 Testing with JUnit 4 – ContextConfiguration and AbstractTransactionalJUnit4SpringContextTests
Looking in the internet for a way to test my Spring 3 application, I found many articles that describe how…
Read More » -

Code coverage with unit & integration tests
On a pet project recently I set out to build automated UI (integration) tests as well as the normal unit…
Read More » -

Avoid Lazy JPA Collections
Hibernate (and actually JPA) has collection mappings: @OneToMany, @ManyToMany, @ElementCollection. All of these are by default lazy. This means the…
Read More » -

Play! Framework: Why Did I Fall in Love with it
Some time ago, I was the tech lead for a few very large deployments on the Real Estate market for…
Read More » -

Java EE6 CDI, Named Components and Qualifiers
One of the biggest promises java EE6 made, was to ease the use of dependency injection. They did, using CDI.…
Read More » -

Parametrizing custom validator in JSF 2
Writing a custom validator in JSF 2 is not a complicated task. You implement Validator interface, add @FacesValidator annotation and…
Read More » -

Vaadin add-ons and Maven
Introduction One (of the many) thing I like about Vaadin, is its community of ‘add-ons’ to the Vaadin framework –…
Read More » -

Apache Shiro : Application Security Made Easy
Considering that JAVA is over 10+ years old, the number of choices for application developers that need to build authentication…
Read More » -

Java EE6 Events: A lightweight alternative to JMS
The feature I’m going to talk about today is the event mechanism that is in java EE 6. The general…
Read More »







