Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General 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: 1868
  • 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