The design of Singleton class should ensure the following 
1. the class is instantiated only once and further requests to the class to 
create instance are forced to return a reference to the existing one and 
only object. 
2. the instantiation of the class can be delayed until it is actually 
needed ( lazy instantiation). More on singleton patternSingle Pattern in 
java 
tutorial<http://www.techlabs4u.com/2012/02/singleton-pattern-in-java-tutorial-use.html>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/589K8A53yeMJ.
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