To clarify some of the responses - static variables are only shared
among instances of your servlet on that one server.  In GAE, your code
might run on different servers at different times - Google tries to
load-balance your site among its server farm.  So your website might
be running on multiple servers at once, or it might be moving from
machine to machine throughout the day, etc.

You have to think a little differently in an environment like that.
Instead of using static variables, use the memcache services.  It is
fast and the data is shared among all your instances.  Even better, it
can live longer than your individual web server instances.

- Jim
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to