Saturday, August 9, 2008

Null Pointer Exception

When you encounter a NULL pointer exception ( Null pointer exception is the exception that is thrown by the JVM when you perform some operation on an object which is null or calling some method on the object that is null), you should not try to handle that exception i.e., DONT try ...catch the null pointer exception. It is nothing but patching the problem and it isin't the right way. You should try to avoid performing any operation on null object.

Eg:

object.method();

Assume this statement generates a null pointer exception.

Wrong method :

try {
object.method();
} catch ( Exception Ex) {
// handle the exception
}

Correct Method :

if ( object != null) {
object.method();
}

Thursday, August 7, 2008

Hibernate Tutorial

This is a Hibernate tutorial to help you learn Hibernate and understand how it is used. By reading this Hibernate tutorial you will learn the main concepts, ...www.visualbuilder.com/java/hibernate/tutorial/ - 56k - Cached - Similar pages

Wednesday, August 6, 2008

Tutorial on C Programming

Material includes programming concepts, diagrams, source code for all example programs, and answers to all programming exercises. It is to the students benefit to examine the source code for the example programs, then compile and execute each program as it is studied. The diligent student will modify the example program in some way, then recompile and execute it to see if he understands the material studied for that program. This will provide the student with valuable experience using his compiler.http://www.cs.cf.ac.uk/Dave/C/

Tuesday, August 5, 2008

HTML - Wikipedia, the free encyclopedia

HTML, an initialism of HyperText Markup Language, is the predominant markup language for web pages. It provides a means to describe the structure of ...en.wikipedia.org/wiki/HTML - 121k - Cached - Similar pages

Monday, August 4, 2008

Struts Tutorial

Struts Tutorial
The Struts Tutorial will help new JSP developers understand the benefits of struts and how to program their first Struts program.www.visualbuilder.com/jsp/struts/tutorial/ - 70k - Cached - Similar pages

Tutoral For Java

http://java.sun.com/docs/books/tutorial.