File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes DB2 connectivity 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 "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: 42965
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
It's not a secret anymore!