A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Constant JDBC Connection
Joined: Jul 15, 2005
Oct 13, 2005 18:39:00
On my webpage visitors will frequently make database querys. Is it possible to run a connection in the background that all
will be able to tap into? Like a constantly logged in helper that is available to all servlets? How would I do this?
Thanks for atleast reading things,
Author and ninkuma
Joined: Jan 10, 2002
Oct 13, 2005 18:44:00
Your best bet in such an environment is container-managed connection pooling.
Asking smart questions
Books by Bear
Joined: Dec 11, 2004
Oct 14, 2005 04:14:00
An old thread that discusses this in length just resurfaced today.
How to ask a question...
Simple Servlet Examples
It is sorta covered in the
JavaRanch Style Guide
subject: Constant JDBC Connection
Maintaining scalability in servlets programming
Creating a method to average grades out
Connection Pooling (Urgent)
Can I Pool Connections to DB Across JSPs?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015