This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DB2

 
shiva shankar
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1869
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!!.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic