A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
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
subject: Constant JDBC Connection
Connection Pooling (Urgent)
Creating a method to average grades out
Can I Pool Connections to DB Across JSPs?
Maintaining scalability in servlets programming
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014