aspose file tools*
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
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Connection closing - pooling, without pooling." Watch "Connection closing - pooling, without pooling." New topic
Author

Connection closing - pooling, without pooling.

Makeshkumar Subramaniam
Greenhorn

Joined: Aug 09, 2008
Posts: 21

Hi,
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.


cheers,
Makesh.

[URLyBird1.1.1 - > just started]
Shahzad Masud
Greenhorn

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
http://www.javaworld.com/javaworld/jw-10-2000/jw-1027-pool.html
http://java.sun.com/developer/onlineTraining/Programming/JDCBook/conpool.html
http://webdevelopersjournal.com/columns/connection_pool.html
http://msdn.microsoft.com/en-us/library/8xx3tyca.aspx
http://www.webopedia.com/TERM/C/connection_pool.html
http://dev.mysql.com/tech-resources/articles/connection_pooling_with_connectorj.html
http://www.onjava.com/pub/a/onjava/2006/04/19/database-connection-pooling-with-tomcat.html

Hope it helps.
 
Don't get me started about those stupid light bulbs.
 
subject: Connection closing - pooling, without pooling.
 
Similar Threads
poor desktop project...
I am facing a lot of problems with sql server 2000 odbc drivers.
Questions on EJB
Connection pooling Examples
static connection