my dog learned polymorphism*
The moose likes JDBC and the fly likes which way is better to initialize connection pool? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "which way is better to initialize connection pool?" Watch "which way is better to initialize connection pool?" New topic
Author

which way is better to initialize connection pool?

Ego Tang
Greenhorn

Joined: Oct 01, 2002
Posts: 11
Hi ranchers,
I am not sure which is a better way to initialize a connection pool: to initialize it declaratively(e.g. configure it in server.xml in Tomcat), or construct it programmatically(implement ConnectionPoolDataSource)?
Moreover, I am trying to use a disconnected CachedRowSet to cache the returned resultset, do I need to close it after using it?
Many thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: which way is better to initialize connection pool?
 
Similar Threads
what connection pooling is better?
doubt in creating connections..
How to Use Connection Pool in servlets from web server
recreating damaged connection in pool
connection pool ? (JBoss / DBCP / c3po )