This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection pool

 
Ken Shamrock
Ranch Hand
Posts: 139
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the past, I used to make use of connection pool when connecting to MySQL using Servlet; now, I will connect Oracle via Servlet, I wonder if I still need to make a connecting pool in Servlet? Or Oracle already have this kind of function so that I don't need to take care of this when programming? Thanks
 
Ray Stojonic
Ranch Hand
Posts: 326
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's my understanding that a DataSource is the preferred way to connect to a database from Servlets. It will do it's own pooling, so you don't have to worry about it.

How to Setup (and use) a DataSource on Tomcat
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic