Originally posted by Stan James:
Edited: There are no spaces in that "jdbc: db2" string but I put one in to avoid making smileys.
@Stan: The Code:
Driver driver = (Driver) Class.forName("COM.ibm.db2.jdbc.app.DB2Driver").
is more self-explainatory than:
One instance is created and registerd by the code above and one is creating in the Driver's initialization block.
Driver driver=new COM.ibm.db2.jdbc.app.DB2Driver();