This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes using a connection from the pool. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "using a connection from the pool." Watch "using a connection from the pool." New topic
Author

using a connection from the pool.

Jonah Kommu
Greenhorn

Joined: Mar 09, 2011
Posts: 12
How do I know that the application that I am working on uses a connection from the pool of db connection that the application server has created rather than creating a new one?

In the DAO's should I be looking for certain explicit methods?

TIA!
Jonah Kommu
Greenhorn

Joined: Mar 09, 2011
Posts: 12

Or when within an application server that is configured to have a pool of connections, on a getConnection would the connection returned is one of the pooled connections?

thanks in advance !!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: using a connection from the pool.
 
It's not a secret anymore!