wood burning stoves 2.0*
The moose likes JDBC and the fly likes Connection pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Connection pooling " Watch "Connection pooling " New topic

Connection pooling

A Kumar
Ranch Hand

Joined: Jul 04, 2004
Posts: 979
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
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3703

a) so that non-developers change the database connection.

My Blog: Down Home Country Coding with Scott Selikoff
It is sorta covered in the JavaRanch Style Guide.
subject: Connection pooling
Similar Threads
Help for Connection Pool
What is Connection Pooling? And how to use It
Q 4 C. Bauer & G. King (5): Hibernate handles also connection pooling?
Hibernate with Application server connection pool
Connection Pooling- For Stand Alone Application