If your new to java JDBC can be very complex. Here are some simple
steps that are for you to figure out how to do.
1)Set the driver which is one of the system properties
2)Create a connection using the DriveManager class
3)Use that connection to create statements
4)Use those statements to execute queries and return result sets
5)When finished close all statements, result sets, and connections
Note that if you use the same statement twice to return a result set
then if you call the previous result set there will be an error
because it is no longer open.
http://groups.google.com/group/java-software-develoupment?hl=en