my dog learned polymorphism*
The moose likes JDBC 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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
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.
Consider Paul's rocket mass heater.
subject: Connection closing - pooling, without pooling.
Similar Threads
Questions on EJB
I am facing a lot of problems with sql server 2000 odbc drivers.
poor desktop project...
static connection
Connection pooling Examples