The moose likes JDBC and Relational Databases and the fly likes DBCP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "DBCP" Watch "DBCP" New topic


Hengki Widjaja
Ranch Hand

Joined: Oct 31, 2011
Posts: 44
It's said that dbcp is now better than c3p0 since c3p0 is not maintained anymore. is this true?
can anybody give a simple full example of pooling? I think this is a better solution compared to standard DB access.
Scott Selikoff
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3749

"it depends on what you need it for". Certainly there are cases where pooling is not required or even ideal.

[OCA 8 Book] [Blog]
Hengki Widjaja
Ranch Hand

Joined: Oct 31, 2011
Posts: 44
My web app is going to do routine CRUD operations into DB (it's a business app). Is this not an ideal condition to use pooling? thanks
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

Maybe this post will help you:

[] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
I agree. Here's the link:
subject: DBCP
It's not a secret anymore!