This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases 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 and Relational Databases
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Type 4 driver for db2
 
It's not a secret anymore!