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 how to connect to 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 "how to connect to DB2" Watch "how to connect to DB2" New topic

how to connect to DB2

ramesh kandukuri
Ranch Hand

Joined: Jan 10, 2001
Posts: 47
Hai friends
i have used oracle and msaccess data bases for my applications..I wanted to connect to DB2..How can i do that?Is that DB2 free ware is available?
If so where?and about(i guess driver is needed) Driver? and installation classpath etc ..
please help
looking forward for ur reply..
thanks in advance
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

use the JTOpen jar files. This is the Open Source toolbox for java. It has many useful jars for dealing with the AS/400 from java. For sample code and info on JDBC on the AS/400 I have found this link very useful.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: how to connect to DB2
It's not a secret anymore!