• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Connection closing - pooling, without pooling.

 
Greenhorn
Posts: 21
Eclipse IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
It will give me the powers of the gods. Not bad for a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic