Enterprise Java
-
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 » -
Testing client side of RESTful services
Develop an application that uses RESTful web API may imply developing server and client side. Writing integration tests for server…
Read More » -
Spring Testing Support and Context caching
Spring provides a comprehensive support for unit and integration testing – through annotations to load up a Spring application context,…
Read More »