I am using google guice with my App Engine application. Is it alright if I
bind instances of DatastoreService, MemcacheService or XXXXService
interfaces as singletons?
In short should I call DatastoreServiceFactory.getDatastoreService(); inside
a servlet method for each request or is it ok to call it once and store the
instance in application startup?

Erdinc

--~--~---------~--~----~------------~-------~--~----~
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