From: Chad Lung [mailto:[EMAIL PROTECTED]
Coming from ASP.NET experience I know that using
static variables with IIS they are held in the app domain and
the app domain
can be reloaded by IIS for a number of reasons (config files
changed, files
changed, etc.) This kinda makes using
See Thread at: http://www.techienuggets.com/Detail?tx=11977 Posted on behalf of
a User
Nothing to do with Tomcat. Look up the Singleton pattern and it will teach you
what you need.
In Response To:
I have a unique situation where I'm building a polling server for a
Flash/Flex application. I
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chad,
Chad Lung wrote:
What I want to do is store information in a few static variables used
in a servlet. I'm looking for speed more than anything as the clients will
be polling the server every 2-3 seconds.
I think what you really want is to