choose a db connection pool

流过昼夜 提交于 2019-12-13 05:19:41

问题


we want to use a db connection pool in our applicationl,however thear are so many open soure pools,like dbcp,c3p0,proxool and etc.

I have no idea which is better,any one have some experience about them?


回答1:


I'd recommend using the one that is built into your Java EE app server if you're using one. That's should be sufficient. Why add another dependency?

I'd recommend using DBCP from Apache. It'll work just fine for your purposes.




回答2:


As author of BoneCP (http://jolbox.com), I invite you to have a look at the benchmark section on that site and judge for yourself.

W



来源:https://stackoverflow.com/questions/4376356/choose-a-db-connection-pool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!