jQuery in Action, 3rd edition
The moose likes Tomcat and the fly likes Using Apache DBCP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Using Apache DBCP " Watch "Using Apache DBCP " New topic

Using Apache DBCP

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I know how to use Apache DBCP Connection Pool when using with Hibernate .

But can anybody please tell me how to use DBCP in a Applcation without using Hibernate .

Thanks in advance .

Save India From Corruption - Anna Hazare.
Ajay Vikas
Ranch Hand

Joined: Nov 08, 2006
Posts: 66

Please go ahead in using apache dbcp.jar and start using connection pooling mechanism.

SCJP 1.4
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16897

Apache DBCP is the default pooler for Tomcat, and it comes as part of the stock install download. To use it, just follow the instructions on the Tomcat site for configuring a JDBC datasource.

Tomcat supports pluggable connection poolers, so while DBCP is the default, you have the option to use alternative connection poolers if you need to.

Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link: http://aspose.com/file-tools
subject: Using Apache DBCP
It's not a secret anymore!