Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connectionpooling

 
Mikael Jonasson
Ranch Hand
Posts: 158
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
I'm currently working on an application connected to an oracle database. To speed up the connection to this database, I'd like to use the connectionpooling that's supposed to be part of the java 2-package. However, after reading through the documentation on this, I still can't figure out if the PooledConenction is the container for the connectionpool, or if the JDBC itself holds the connectionpool, and I should use the getPooledConnection() to get a connection, that I use once and then close.
Thankfull for a quick res�ponse, preferably with code-example(s).
/Mike
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic