Well I didn't think that GAE would start up a new JVM per request, but I assumed the GC would clean up any data created between requests, as there seems to be nothing left holding references to said data. One of these days I will read up on the details of java garbage collection...
On Mar 7, 9:01 pm, Jeff Schnitzer <[email protected]> wrote: > On Sun, Mar 7, 2010 at 11:36 AM, tempy <[email protected]> wrote: > > Interesting... now I need to go and make sure all my logic still works > > if singletons stick around between requests. GAE is full of > > surprises! Thanks for the tip =) > > It may be true that GAE is full of surprises, but this shouldn't have > been one of them :-) > > Your GAE instance is a (modified) copy of Jetty that starts up, serves > requests for a while, and maybe gets shut down if you don't have any > more traffic. You can't possibly think that GAE would start up a JVM > and Jetty for every single request! > > Jeff -- 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.
