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

Connection pooling

 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have 2 options for Connection pooling

a) make use of connection pooling
created & maintained by application server & access it using JNDI....

b) If datasource is not created in application server
make use of connection pooling by DBCP or C3PO

Among a & b which is the recommended approach??
And in b) which is the better option in production??
 
Scott Selikoff
author
Saloon Keeper
Posts: 4014
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a) so that non-developers change the database connection.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic