-
Core Java
Observer Design Pattern in Java
‘Don’t call us, we’ll call you’… that’s the Hollywood OO (Object Oriented) Principle and it’s exactly what the Observer pattern…
Read More » -
Core Java
Java Code Quality Tools – Overview
Recently, I had a chance to present the subject at the local IT community meetup. Here is the basic presentation:…
Read More » -
Enterprise Java
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 » -
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 » -
Enterprise Java
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 » -
Enterprise Java
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 » -
Core Java
Does Immutability really means Thread Safety?
I have often read articles telling “If an object is immutable, it is thread safe”. Actually, I have never found…
Read More » -
Enterprise Java
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 » -
Groovy
Test Driven Traps, part 1
Have you ever been in a situation, where a simple change of code, broke a few hundred tests? Have you…
Read More »