permaculture playing cards*
The moose likes JDBC and the fly likes How to create a class for providing database connection pool(5 connections) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "How to create a class for providing database connection pool(5 connections)" Watch "How to create a class for providing database connection pool(5 connections)" New topic
Author

How to create a class for providing database connection pool(5 connections)

Sisir Chanda
Greenhorn

Joined: Jan 03, 2005
Posts: 11
I want to create a class which will provide me 5 or cusomizable number of connection. It will be something like connection(oracle data base) pooling. I can create it by opening multiple connection simultaneously...But is it there any other standard way to do so.

Please help me out.
Thanks in advance.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
WRONG FORUM! Moving.....
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Have you looked at the Jakarta DBCP project?
http://jakarta.apache.org/commons/dbcp/

You can also find the source code to a connection pool in
http://pdf.coreservlets.com


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create a class for providing database connection pool(5 connections)
 
Similar Threads
implementing connection pool
Sharing Connection Object
Connection
What to use where?
how to configure connection pooling in tomcat server?