wood burning stoves 2.0*
The moose likes JDBC and the fly likes DBCP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "DBCP" Watch "DBCP" New topic
Author

DBCP

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: 3703
    
    5

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


My Blog: Down Home Country Coding with Scott Selikoff
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:
http://stackoverflow.com/questions/520585/connection-pooling-options-with-jdbc-dbcp-vs-c3p0


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DBCP
 
Similar Threads
difference between DBCP and c3p0
Connection pool - Own implementation / DBCP / c3p0
connection pooling
make a jdbc conecction pool from 0, using JSP, tomcat, mysql
connection pool ? (JBoss / DBCP / c3po )