Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

where to use c3p0 jar  RSS feed

 
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
Boost this thread!