#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2001
    Posts
    0
    Rep Power
    0

    Connection Pooling of Database in JSP


    Hi,
    I am working on a tool with JSP front end, and MS Access as the database....

    there are 12 JSPs... and each of them functionally do similar things... connect to the same database, access data, show it, and then disconnect from the Database.

    However, i find that since each page individually connects to the database and then at the end disconnects, the performance can be improved by connecting just once, and maintaining the connection throughout the session... and disconnecting from the database at the time of invalidating the session.

    Is there some way this can be achieved >
  2. #2
  3. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    539
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2001
    Posts
    0
    Rep Power
    0

    Wink Re: Poolman


    I havent yet tried out PoolMan... But thanks a million for the tip

    I will try it out... and let you know... for the timebeing it seems to be the solution. And one more thing, the no. of JSPs have gone up from 12 to 344 and the RDBMS now is Oracle 8i containing 3445 MB of data in compressed form. Now the problem is getting more and more severe. Also since there are more than 200 users logging in every hour or so, performance tuning has become mandatory !!

    Ciao.

IMN logo majestic logo threadwatch logo seochat tools logo