At 2:33 PM -0500 1/17/02, Geoffrey Talvola wrote:
>The usual suggestion when you want a "singleton" object that is shared
>across all servlet instances is to just store it in a global variable at
>module level.  You can either put this variable directly into the module
>that contains your servlet, or if you want to share it across multiple
>servlets you can put it into a separate module.

To pursue this from a slightly different perspective, is this also 
the preferred way to create and maintain persistent database 
connections in webware, whether pooled or otherwise?


Richard Gordon
--------------------
Gordon Design
Web Design/Database Development
http://www.richardgordon.net


_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to