Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Using Apache DBCP

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 .
 
Ajay Vikas
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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

--
Ajay.
SCJP 1.4
 
Tim Holloway
Bartender
Posts: 18423
60
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
mooooooo ..... tiny ad ....
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!