Enterprise Java
-
Spring MVC Controller JUnit Testing
JUnit testing Spring MVC controllers is not an easy task. But recently, a new project (to be included in Spring…
Read More » -
Spring Shell Project Released
Spring Source released Spring Shell yesterday. Spring Shell is an interactive shell that can be easily extended with commands using…
Read More » -
Play 2.0 framework and XA transactions
XA transactions are useful and out of the box, Play 2.0 today does not have support for them. Here I…
Read More » -
Hunting a Random Bug – A True Story
A few weeks ago, I finished a bug hunt for the RapidFTR open source project, which took me three evenings.…
Read More » -
Maven Build Number Plugin – Sample Usage
Suppose we need to add a build number to some artifact (jar, war, etc.). Here I’d like to demonstrate the…
Read More » -
Redis pub/sub using Spring
Continuing to discover the powerful set of Redis features, the one worth mentioning about is out of the box support…
Read More » -
Enhancing Spring Test Framework with beforeClass and afterClass setup
How to allow instance methods to run as JUnit BeforeClass behavior JUnit allows you to setup methods on the class…
Read More » -
Spring 3.1: Caching and EhCache
If you look around the web for examples of using Spring 3.1’s built in caching then you’ll usually bump into…
Read More » -
Spring Security using API Authentication
Background While there are many blog posts that detail how to use Spring Security, I often still find it challenging…
Read More »