• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using DriverManager versus Connection Pooling

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Lot has been said about the advantages of using Connection Pooling in JDBC 2.0.
In our application, we have tried both options..using datasource and connection pooling and using DriverManger.getConnection().We have found that the second option ie DriverManager.getConnection() is faster and more reliable.When using datasource.getConnection() we had frequently encountered ConnectionWaitTimeout exception..also the application sometimes becomes very slow.We are using Oracle 8.x for database.Since ours is a large organization,changing the adminstrator options for the datasource,like increasing the size of connections in a pool, would be the last option to be considered.
We are using Websphere as our application server.
Also we are not using EJBs,we are using jsp and beans for database access.
Any thoughts/comments from the members of this forum would be very helpful.
Thanks

[This message has been edited by Rishi Kant (edited August 02, 2001).]
[This message has been edited by Rishi Kant (edited August 02, 2001).]
reply
    Bookmark Topic Watch Topic
  • New Topic