Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2007
    Posts
    2

    Unanswered: Connection Pool implementation for Java servlets

    I'm building a web app that uses servlets to connect to a mysql database. I'm looking for a solid implementation of a connection pool that I can use. I don't have access to the Tomcat server configuration, so I'm looking for a library that implements the connection pool from within the servlet itself.

    Any suggestions?

    Thanks in advance!

    robin

  2. #2
    Join Date
    Nov 2003
    Posts
    2,935
    Provided Answers: 12
    What does this question have to do with MySQL? This should be moved to the Java forum.

    Tomcat contains the Apache DBCP (http://commons.apache.org/dbcp/) connection pool, so you should be able to directly access that. If not, you can download the library from their homepage.

  3. #3
    Join Date
    Sep 2007
    Posts
    2
    I'm connecting to a mysql database, but you're probably right -- the connection pool is generic wrt the particular DB being used.

  4. #4
    Join Date
    Jan 2005
    Posts
    362

    C3p0

    You may use also C3P0 (hibernate use it.)
    Dimis

Posting Permissions

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