Java Database connection pool (BoneCP vs DBPool vs c3p0)

前端 未结 6 1211
春和景丽
春和景丽 2020-12-24 07:12

For a Java app outside of a J2EE container, which connection pool library is the best?

  • I heard c3p0 is getting outdated.
  • Jakarta\'s c
6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-24 07:49

    I am currently trialing BoneCP in a large enterprise intranet environment. I had consistent threading issues with c3p0 (pretty common ones if you dig around), so I did my research and it seemed like the best stock library. The configuration is a bit of an exercise, but once you get it down, it seems great.

提交回复
热议问题