Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Type 4 driver for db2

 
Ranjith Kalarikkal
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic