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:

Getting Started with AJAX using Java

21/07/2010
After AJAX call
AJAX is an acronym for Asynchronous JavaScript And XML. AJAX provides an ability to communicate with the server asynchronously. Here asynchronous is the keyword. To explain that in simple terms, you can send a request to server and continue user interaction with the user. You need not wait for response from the server. Once the [...]

JAG is Now Unemployed!

15/07/2010
jag
I recently noticed that James Gosling moved his blog from sun’s site to his own blog with a cool domain name. Also, I noticed in his bio that he is unemployed. Yes, you read it right, James Gosling is unemployed! Oracle bought Sun some time back. We are all eagerly watching the events aftermath. I [...]

Prototype Design Pattern

14/07/2010
prototype
When creating an object is time consuming and a costly affair and you already have a most similar object instance in hand, then you go for prototype pattern. Instead of going through a time consuming process to create a complex object, just copy the existing similar object and modify it according to your needs. Its [...]

Address of a Java Object

05/07/2010
logicaladdress
In conventional java programming, you will never need address or location of a java object from memory. When you discuss about this in forums, the first question raised is why do you need to know the address of a java object? Its a valid question. But always, we reserve the right to experiment. Nothing is [...]

Association, Aggregation, Composition, Abstraction, Generalization, Realization, Dependency

26/06/2010
Dependency
These terms signify the relationships between classes. These are the building blocks of object oriented programming and very basic stuff. But still for some, these terms look like Latin and Greek. Just wanted to refresh these terms and explain in simpler terms. Association Association is a relationship between two objects. In other words, association defines [...]

Java’s toLowerCase() has got a surprise for you!

09/05/2010
No Rabbit Inside!
Have you ever encountered a surprise while using toLowerCase()? This is a widely used method when it comes to strings and case conversion. There is a nice little thing you should be aware of. toLowerCase() respects internationalization (i18n). It performs the case conversion with respect to your Locale. When you call toLowerCase(), internally toLowerCase(Locale.getDefault()) is [...]

Is Your Java Code Privileged?

22/03/2010
Privilege
The java system code that is part of the JDK is considered God and has all the maximum privileges. For example it can read a system property by default. To easily understand it is better to consider java Applets. An Applet cannot read a system property by default because it belongs to different CodeSource and [...]

Now the SUN is Red

30/01/2010
oracle sun acquistion
sun.com now redirects to oracle.com – oracle completes acquisition of sun. Is it a happy news or sad news for sun customers? In particular java guys. Oracle is a strong supporter of Eclipse – what will happen to NetBeans now? Will oracle continue and endorse JCP (Java Community Process)? Will MySQL development continue? Will oracle [...]

Serialize / De-Serialize Java Object From Database

09/01/2010
Reconstruct The Object
In recent days generalization have become popular in software development. You build a common platform and generate applications out of it to reduce the cost. In such applications an activity that will be frequently performed is serializing java objects to database. There are many fancy tools and framework available to do this. Before using all [...]

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