This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where to use c3p0 jar

 
sudheer kiran
Ranch Hand
Posts: 237
Firefox Browser MyEclipse IDE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have a web application ami need to use c3p0
or is it useful only when there are lot of transactions in application,say a enterprise application?

thanks
 
Christian Dillinger
Ranch Hand
Posts: 200
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Connection pooling is useful in nearly every situation.
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you have a web application it is probably deployed in a Servlet Container, which will provide its own connection pool. I'd favour that over c3p0 if it is there, simple because it is one less thing to need to configure.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic