Core Java
-
The Wizard Design Pattern
We all love wizards…. (Software wizards I mean). We are always happy to jump on those ”Next” buttons like we…
Read More » -
Java 7 – The NIO File Revolution
Java 7 (“Project Coin”) has been out since July of last year. The additions with this release are useful, for…
Read More » -
XML parsing using SaxParser with complete code
SAX parser use callback function (org.xml.sax.helpers.DefaultHandler) to informs clients of the XML document structure. You should extend DefaultHandler and override…
Read More » -
if – else coding style best practices
The following post is going to be an advanced curly-braces discussion with no right or wrong answer, just more “matter…
Read More » -
Practical Garbage Collection, part 1 – Introduction
This is the first part of a series of blog posts I intend to write, whose aim will be to…
Read More » -
Understanding Java Weak References
I could not pay attention to the blog in the recent times and first and foremost I must apologize for…
Read More » -
TestNG or JUnit
For many years now, I have always found myself going back to TestNG whenever it comes to doing Unit Testing…
Read More » -
Java Annotations & A Real World Spring Example
An “annotation” is a type of programming language definition and used as a “marker”. They can be thought as comment…
Read More » -
Profile your applications with Java VisualVM
When you need to discover what part of an application consume the more CPU or Memory, you must use a…
Read More »