Java
-
Testing an Object’s Internal State with PowerMock
Most unit testing focuses on testing an object’s behaviour in order to prove that it works. This is achieved by…
Read More » -
Top 10 Java Books you don’t want to miss
We learn by reading books and experimenting on it. So, it is imperative that you choose the best available options.…
Read More » -
Parametrizing custom validator in JSF 2
Writing a custom validator in JSF 2 is not a complicated task. You implement Validator interface, add @FacesValidator annotation and…
Read More » -
Vaadin add-ons and Maven
Introduction One (of the many) thing I like about Vaadin, is its community of ‘add-ons’ to the Vaadin framework –…
Read More » -
Concurrency optimization – Reduce lock granularity
Performance is very important in high load multi-threaded applications. Developers must be aware of concurrency issues in order to achieve…
Read More » -
Apache Shiro : Application Security Made Easy
Considering that JAVA is over 10+ years old, the number of choices for application developers that need to build authentication…
Read More » -
Java EE6 Events: A lightweight alternative to JMS
The feature I’m going to talk about today is the event mechanism that is in java EE 6. The general…
Read More » -
Monitoring OpenJDK from the CLI
Currently I do quite a bit of work in and around the Java virtual machine (JVM), most of the time…
Read More » -
Programming antipatterns
Did you ever do a code review where you recorded an extremely high amount of WTF/m? And did you…
Read More »