Enterprise Java
-

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 » -

Testing Custom Exceptions with JUnit’s ExpectedException and @Rule
Exception Testing Why test exception flows? Just like with all of your code, test coverage writes a contract between your…
Read More » -

Log4j Thread Deadlock – A Case Study
This case study describes the complete root cause analysis and resolution of an Apache Log4j thread race problem affecting a…
Read More » -

JUnit Pass Test Case on Failures
Why create a mechanism to expect a test failure? There comes a time when one would want and expect a…
Read More » -

MapReduce: Working Through Data-Intensive Text Processing
It has been a while since I last posted, as I’ve been busy with some of the classes offered by…
Read More » -

Useful Ant build tags
Questions: How to do following tasks in ant file? Make zip file. Run command. Copy files to remote machine. Run…
Read More » -

The crystal ball illusion
I have noticed that people sometimes avoid doing thorough testing. This may sound as bogus to some, but hear me…
Read More » -

NUMA architecture and Java
Time to deploy your application, looking forward to procure hardware that suits best to the load requirements. Boxes with 40…
Read More »






