Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old November 28th, 2001, 11:46 PM
pra_sad pra_sad is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 0 pra_sad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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 >

Reply With Quote
  #2  
Old November 30th, 2001, 03:01 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,711 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 6 Days 5 h 22 m 58 sec
Reputation Power: 259
Lightbulb Poolman

yes!
Poolman ( http://www.codestudio.com/ ) or others are the solution.
Could you please report on your experience, if you happen to use it?

Reply With Quote
  #3  
Old January 4th, 2002, 05:28 AM
pra_sad pra_sad is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 0 pra_sad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation 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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Connection Pooling of Database in JSP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway