Enterprise Java
-
Writing Clean Tests – To Verify Or Not To Verify
When we write unit tests that use mock objects, we follow these steps: …
Read More » -
Maven Git Release
I need to start this post by stating that I’ve only started to work seriously with Git within the last…
Read More » -
Compile-time checking JPA queries
JPA provides several alternatives for querying data. Such alternatives may be classified attending to a variety of criteria, eg, language…
Read More » -
Spring MVC Integration Testing: Assert the given model attribute(s) have global errors
In order to report a global error in Spring MVC using Bean Validation we can create a custom class level…
Read More » -
ADF: Popup, Dialog and Input Components
In this post I would like to focus on a very common use case when we have af:popup containing af:dialog…
Read More » -
A beginner’s guide to JPA/Hibernate flush strategies
Introduction In my previous post I introduced the entity state transitions Object-relational mapping paradigm. All managed entity state transitions are…
Read More » -
Introducing Hadoop Development Tools
Few days back Apache Hadoop Development Tools a.k.a. HDT was released. The projects aims at bringing plugins in eclipse to simplify…
Read More » -
A new proximity query for Lucene, using automatons
The simplest Apache Lucene query, TermQuery, matches any document that contains the specified term, regardless of where the term occurs…
Read More » -
Spring Batch as Wildfly Module
For a long time, the Java EE specification was lacking a Batch Processing API. Today, this is an essential necessity…
Read More »