This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "DB2" Watch "DB2" New topic
Author

DB2

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: 1864
shiva,
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: http://aspose.com/file-tools
 
subject: DB2
 
It's not a secret anymore!