aspose file tools*
The moose likes JDBC and the fly likes DB2 connectivity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "DB2 connectivity" Watch "DB2 connectivity" New topic

DB2 connectivity

Emerald D'souza

Joined: Jan 31, 2008
Posts: 5
hi, can anyone direct me to a step by step guide as to how to connect to a db2 database using a Servlet. i wish to create tables, modify data within them, read data etc all by using Servlets. Is it possible to get the data from db2 in XML format and how to do the same.
thanks in advance.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42918
Welcome to JavaRanch.

Connecting to a database from a servlet isn't different than connecting to it from any other piece of Java code, so I'll move this to the JDBC forum.
I agree. Here's the link:
subject: DB2 connectivity