#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Location
    Los Angeles, California
    Posts
    102
    Rep Power
    15

    Question PostgreSQL DB Connection Pooling


    I am looking for some information on how to implement database connection pooling for PostgreSQL. I probably don't need PostgreSQL specific information, but I do need to figure out how to implement the pooling. I don't mind writing my own class, but do need to be pointed to some good documentation on how to actually implement one. That said, can someone please refer to me to some good documentation for doing this? I want to reuse connections for my jsp/servlets.

    Thanks In Advance!
    Edgar Castanedo
  2. #2
  3. No Profile Picture
    Moderator =(8^(|)
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Feb 2002
    Location
    Sacramento, CA
    Posts
    1,710
    Rep Power
    14
    Stuff to look at:
    http://developer.java.sun.com/develo...k/conpool.html
    http://www.javaperformancetuning.com...connpool.shtml

    You might also look into using your app server to manage the connection pools. Depends on what app server you're using and what your requirements are.
    -james

IMN logo majestic logo threadwatch logo seochat tools logo