Core Java
-

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 » -

Java 8 Status Updates
The two big new language features of the upcoming Java SE 8 release are Lambda Expressions and Modularity. For both,…
Read More » -

Debugging the JVM
In some (rare) cases you might find yourself in the situation that you managed to crash the JVM itself. I…
Read More »

