aspose file tools*
The moose likes Servlets and the fly likes Connection pool Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Connection pool" Watch "Connection pool" New topic
Author

Connection pool

Ken Shamrock
Ranch Hand

Joined: Jan 23, 2002
Posts: 139
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


Thanks everyone who helped me
Ray Stojonic
Ranch Hand

Joined: Aug 08, 2003
Posts: 326
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
 
subject: Connection pool
 
Similar Threads
recreating damaged connection in pool
Store Connection Pool
how get the database connection in eclipse IDE
connection pool ? (JBoss / DBCP / c3po )
Tomcat 6.0.32 only connects to first deployed application configuration