This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JDBC and Relational Databases and the fly likes Connection closing - pooling, without pooling. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Connection closing - pooling, without pooling." Watch "Connection closing - pooling, without pooling." New topic

Connection closing - pooling, without pooling.

Makeshkumar Subramaniam

Joined: Aug 09, 2008
Posts: 21

I am pretty confused about closing connection with Connection pooling and without connection pooling (direct connection ). can there be anybody who would explain me the difference between the two ? (I'm using oracle 10g).

Thanks in advance.


[URLyBird1.1.1 - > just started]
Shahzad Masud

Joined: Oct 18, 2007
Posts: 11
When you are using a connection pool, then it contains an array or collection of pre-build connections. In order to use the connection, we borrow connection from the pool and after use we return the connection back. But in normal connection, we build it at the time of use and then close.

Some references for you

Hope it helps.
Have you checked out Aspose?
subject: Connection closing - pooling, without pooling.
It's not a secret anymore!