This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JPA Certification (OCEJPA) 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » JPA Certification (OCEJPA)
Bookmark "Connection-pool" Watch "Connection-pool" New topic
Author

Connection-pool

rookie pan
Greenhorn

Joined: Apr 09, 2013
Posts: 1
hello! I want to build a connection-pool,through MySql,Tomcat and eclipse,who can tell me .Thank you!
Salil Vverma
Ranch Hand

Joined: Sep 06, 2009
Posts: 253

Why do you want to build, when open source connection pools are available. You can use DBCP (Dataabse Connection Pool).
Link - http://commons.apache.org/proper/commons-dbcp/


Regards
Salil Verma
Anayonkar Shivalkar
Bartender

Joined: Dec 08, 2010
Posts: 1502
    
    5

rookie pan wrote:hello! I want to build a connection-pool,through MySql,Tomcat and eclipse,who can tell me .Thank you!

Welcome to CodeRanch!

I assume you meant to say 'Java' (when you mentioned Eclipse). As Salil has mentioned, you can use apache commons APIs - in fact commons-pool library can be used to handle generic object pools (e.g. DB connection pool, thread pool and so on).


Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Connection-pool
 
Similar Threads
enterprise application with many users
Connection from DataSource
Which one is the best ?
Front Controller pattern and DataSource / Connection sharing
Getting connection from pool?