aspose file tools*
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!
 
 
subject: which way is better to initialize connection pool?