Forums Register Login

Connection-pool

+Pie Number of slices to send: Send
hello! I want to build a connection-pool,through MySql,Tomcat and eclipse,who can tell me .Thank you!
+Pie Number of slices to send: Send
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/
+Pie Number of slices to send: Send
 

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).
Today you are you, that is turer than true. There is no one alive who is youer than you! - Seuss. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 984 times.
Similar Threads
Front Controller pattern and DataSource / Connection sharing
Which one is the best ?
Connection from DataSource
Getting connection from pool?
enterprise application with many users
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 16:09:11.