File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes DB2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "DB2" Watch "DB2" New topic


shiva shankar
Ranch Hand

Joined: Jun 10, 2001
Posts: 85
Can anyone tell me how to do connection pooling with DB2 and Websphere. Suppose I hava a bean that establishes connection to DB2..I want it websphere to handle the connection..any documents or references might be of help
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1868
You have to create a JDBC driver and a DataSource. From then on whenever you need access to the database lookup the datasource to get a connection object. You can set the poolsize etc in the datasource. So get going!!!.
I agree. Here's the link:
subject: DB2
It's not a secret anymore!