[appengine-java] Re: Weird Life Cycle of Servlet in GAE

2009-10-28 Thread Jim McCabe
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

[appengine-java] Re: Weird Life Cycle of Servlet in GAE

2009-10-28 Thread leszek
It is a clustered environment. So it is expected that the next request is run on a different machine, JVM and all statics are reinitialized. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine for Java"

[appengine-java] Re: Weird Life Cycle of Servlet in GAE

2009-10-28 Thread yccheok
http://yancheng-cheok.appspot.com/helloappengine Production environment. On Oct 28, 5:45 pm, leszek wrote: > Is it production or local (development) environment ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Go

[appengine-java] Re: Weird Life Cycle of Servlet in GAE

2009-10-28 Thread leszek
Is it production or local (development) environment ? --~--~-~--~~~---~--~~ 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 google-appengine-java@googlegroups.com To