wood burning stoves 2.0*
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
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: 255

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: 1510
    
    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)
 
Consider Paul's rocket mass heater.
 
subject: Connection-pool