Sunday, December 28, 2014

Properties overriding in Spring

    Encapsulation can be applied not only to classes. It can also be applied to properties but in slightly different flavor. From my standpoint encapsulation and convention over configuration are two important factors which determine the robustness of the solution.

Tuesday, December 2, 2014

XPath evaluation performance tweaks

    I have recently played with XPath evaluation in Java. I must admit that default configuration of XPath processor in JDK is really broken. I was able to achieve some really significant performance gains with just a couple of simple tricks.

Monday, November 10, 2014

Destructive habits

    I have been using JUnit for quite a long time. I have recently done some coding with TestNG and I was a little bit shocked when I saw the assertion exception for the first time.

Thursday, October 23, 2014

The marriage

    Howdy! I have been recently involved in many marriage related things and I was not able to update my blog frequently. The last period of my private life was really intensive. On the other hand, this is a technical blog so something technical needs to be mentioned - the silence should be broken!

Wednesday, August 20, 2014

Java volatile keyword by example

    Volatile keyword seems to be a little bit enigmatic at first glance. It is rather rare to see that keyword on a daily basis. How does it work? What effect can it have on the program execution?