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 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
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!!!.
 
Have you checked out Aspose?
 
subject: DB2
 
It's not a secret anymore!