posted 9 years ago
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.
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]
posted 9 years ago
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.
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.

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime. |