Mar 23rd, 2014
A lot of times we write java utility programs which can be used as stand alone applications. We package them as executable jar file which could be sha...
Feb 22nd, 2014
One of the coolest features of Java 1.5 was addition of AutoBoxing and AutoUnboxing. Primitives and Boxed Primitives can be interchanged without using ...
Feb 16th, 2014
We all know how servlet lifecycle works. We have methods like init, destroy and service which are lifecycle methods. These methods should be called by ...
Nov 23rd, 2013
Whoa!! Don’t get shocked by the name which sounds complicated. This one is a famous example from Effective Java by Joshua Bloch. Think about each...