Hi

Here is my problem definition. Each day my application needs to load a
set of tables into an object hierarchy and use these objects as static
read only data. As of now I am reading the object hierarchy from
Database every time it is assessed.

I have read that we cannot have Singleton pattern in GAE because your
thread/process, that hold the singleton object, may be moved to a
different JVM instance or moved out of the memory.

What is the best way to implement Singleton Pattern in GAE?
Does memcache or Backends solve this problem?

Pointers to sample code will be helpful.

Regards,
- Vinay Gaonkar.

-- 
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 unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to