storing either a jdbc connection of the information required to establish one in a session variable.
if anyone could comment on the praticality of storing either a jdbc connection of the information required to establish one in a session variable.
Originally posted by Bear Bibeault:
If you are using Tomcat, it provides a builtin pooling mechanism.
Originally posted by David Heffington:
[QBthat there would be a significant overhead savings to use an existing connection as opposed to establishing a new connection every time db access is required.[/QB]
OCUP UML fundamental and ITIL foundation
Originally posted by David Garratt:
So if I understand it you can either write your own connection pooling library or use the Tomcat built in facility.
OCUP UML fundamental and ITIL foundation
Consider Paul's rocket mass heater. |