Example of a JAVA program that connects to db2.