This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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: 4015
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