File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 17421

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Using Apache DBCP
It's not a secret anymore!