aspose file tools*
The moose likes JDBC and the fly likes Type 4 driver for db2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Type 4 driver for db2" Watch "Type 4 driver for db2" New topic
Author

Type 4 driver for db2

Ranjith Kalarikkal
Greenhorn

Joined: Mar 27, 2003
Posts: 8
hai,
I want to know which is the type4 driver for db2 and a sample code to connect the db2 database from a servlet. I also want to know the what all configurations need to do.
thanks and regards,
Ranjith
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

The typical response to questions like this is: What do you have so far?
You can search for a Type 4 DB2 driver on the JDBC Driver Search Page. You connectto DB2 the same way you connect to any other database. Since you are doing it from a Servlet, you will probably want to configure a DataSource.
Dave.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Type 4 driver for db2