Results 1 to 2 of 2

Thread: Tomcat - Hibernate - MySQL - Which connection pool manager ?

  1. #1
    Join Date
    May 2007
    Location
    Les Boscailles - Eghezée - Belgium
    Posts
    54

    Default Tomcat - Hibernate - MySQL - Which connection pool manager ?

    Hi everybody,

    we have a Spring application which will run under Tomcat/Hibernate/MySQL.

    Now, I would like to configure a connection pool manager and of course I have several possibilities:
    - Spring inside connection pool
    * C3P0
    * DBCP
    * ...
    - Tomcat connection pool using JNDI to retrieve it

    I read some threads (http://forum.springframework.org/showthread.php?t=38306 for example) saying that C3P0 seems better then DBCP. But I would have some arguments to choose between "spring inside" and "tomcat one".

    Thanks

  2. #2
    Join Date
    Sep 2006
    Location
    UK
    Posts
    8,424

    Default

    I've used c3p0 a few times in the past with no problems. We tried a few different options previously to this but we ended up going to c3p0.
    Last edited by karldmoore; Aug 29th, 2007 at 10:45 AM.
    Barracuda Networks SSL VPN Lead Developer
    http://pramatr.wordpress.com
    http://twitter.com/karldmoore
    http://www.linkedin.com/in/karldmoore
    Any postings are my own opinion, and should not be attributed to my employer or clients.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •