Hello everyone.
I've a issue when using my apps.
All my logics application data are in memory.
For exemple, I've a servlet like this :
public class MyServlet {
/** Logic application object, create when the class is loaded by the
sandbox. */
private static Logics myLogic = new Logics();
/** Handle post request */
protected void doPost( [...]) {
myLogic.doStuff([...]);
}
}
The doPost method don't take 30 seconds to be execute.
My issue is this : Few minutes after my servlet is loaded and works,
I've got a new instance of Logics.
I thing AppEngine reload my class.
I haven't read about this kind of comportment. Maybe I haven't read the
docs enough.
Must I use appengine api, like memcache ?
Thanks for reading this newbie appengine developer message.
Have a nice day.
--
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.