Recent Articles
Releasing unused objects for garbage collection can be done efficiently using java weak reference. Yes. weak reference is related to garbage ...
February 10th, 2013
Java has a hierarchy defined for exception classes. This tutorial is second in the multi-part series for java exception handling. Previous t ...
January 14th, 2013
Java has many wonderful things and exception handling is one among them. Exception handling is a framework provided by Java to ensure progra ...
January 6th, 2013
Couple of weeks back, I wrote an article to introduce JVM server and client mode and discussed about how they differ performance wise. I jus ...
December 9th, 2012
I wanted to introduce two important things in java, the JCP and JSR in this article. A java guy must be knowing about these and no excuse. J ...
December 2nd, 2012
JVM is launched in client mode by default in SUN/Orace JDK. JVM provides option to launch it in server or client mode. These two modes give ...
November 25th, 2012
Sending email in java using Gmail SMTP and JavaMail API is fun. Core of sending email is done by JavaMail api (using GMail) and we just need ...
November 7th, 2012
Calling a C program may be useful when we prefer to use C libraries and to reuse an existing C program. When we compile a C program, the sou ...
October 21st, 2012
This Java tutorial is to introduce the package javax.script.*. It can be used to execute scripting languages from within Java. Scripts can b ...
October 14th, 2012
This is an interesting puzzle to test our understanding on java compiler. What happens when we compile below code blocks? CODE A: public voi ...
October 9th, 2012