This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


JavaRanch » Java Forums » Databases » JDBC
Bookmark "DB2 connectivity" Watch "DB2 connectivity" New topic
Author

DB2 connectivity

Emerald D'souza
Greenhorn

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
Marshal

Joined: Mar 22, 2005
Posts: 42055
    
  64
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.


Ping & DNS - my free Android networking tools app
 
GeeCON Prague 2014
 
subject: DB2 connectivity