Java Blog

This is my blog on java, servlets, JSP and design patterns. I started this blog just to keep my java knowledge updated and to maintain a log of the java questions that arise in my mind. Now it has turned out to be a full blown java blog and tutorial site with lots of articles and java interview questions. This might help you to keep your java knowledge updated and also to prepare for your java interview, java certifications. Its all there, I welcome you to use and enjoy it. Good day!

Recent Java Articles:

Install Java

04/12/2011
Install java jdk-7-fcs-bin-b147-windows-i586-27
It feels great when you use a product for a long time. In your regular life there are things like a pen, a bike, a camera … which you use over and over (the same old pen, the same brand etc.) Suddenly I had a thought to install java using jdk1.1 and write a couple [...]

Java Binary

27/11/2011
Java Binary
Have you ever wondered what is inside a java class file? Java source file is compiled into a binary class file. JVM specification states many rules on how a java binary class should be in order to provide binary compatibility. These binary files are used in a java virtual machine for execution. Java bytecode (instruction [...]

Java String

21/11/2011
String
String is one of the widely used java classes. It is special in java as it has some special characteristics than a usual java class. Lets explore java String in this article and this page aims to serve you as a single point reference for all your queries on Java String. Though you might be [...]

Java Hashtable

17/08/2011
Hashtable Collision
Hashtable is an implementation of a key-value pair data structure in java. You can store and retrieve a ‘value’ using a ‘key’ and it is an identifier of the value stored. It is obvious that the ‘key’ should be unique. java.util.Hashtable extends Dictionary and implements Map. Objects with non-null value can be used as a [...]

Decorator Design Pattern

17/05/2011
decorated icecream
To extend or modify the behaviour of ‘an instance’ at runtime decorator design pattern is used. Inheritance is used to extend the abilities of ‘a class’. Unlike inheritance, you can choose any single object of a class and modify its behaviour leaving the other instances unmodified. In implementing the decorator pattern you construct a wrapper [...]

Java Closures

12/05/2011
maths_closure
In this article, I will explain what a closure is and clear the confusion surrounding anonymous inner classes and closures, then java’s current situation with respect to closures. First I want to emphasize the below two points: As of JDK 1.6 we don’t have closures in java. Annonymous inner classes in java are not closures. [...]

Adapter Design Pattern

07/05/2011
Adapter
An adapter helps two incompatible interfaces to work together. This is the real world definition for an adapter. Adapter design pattern is used when you want two different classes with incompatible interfaces to work together. The name says it all. Interfaces may be incompatible but the inner functionality should suit the need. In real world the [...]

Singleton Design Pattern

02/05/2011
singleegg
Singleton design pattern is the first design pattern I learned (many years back). In early days when someone asks me, “do you know any design pattern?” I quickly and promptly answer “I know singleton design pattern” and the question follows, “do you know anything other than singleton” and I stand stumped! A java beginner will [...]

Its 1 Million now – Thank You

16/04/2011
top countries
Its been a while I have written on the blog. I was kind of occupied with other studies! Suddenly I noticed a surge in bandwidth usage in my service provider’s report. Something is happening with javapapers. I quickly checked analytics report and found in recent months there is a surge in number of visitors to [...]

Email:

about
I am Joe, author of this blog. I run this with loads of passion. If you are into java, you may find lot of interesting things around ...more about me. Google+
java badge
Home