Thu Feb 14 04:33:33 GMT 2013 singletonHow to get ride of it - http://tech.puredanger.com/2007/07/03/pattern-hate-singleton/ Trying to make singleton testable - http://alexruiz.developerblogs.com/?p=1832 Why singleton? Some time may be just create the object once at the beginning is fine - http://www.butunclebob.com[..]ticleS.UncleBob.SingletonVsJustCreateOne And a good article of telling why don't use singleton - http://www-106.ibm.com[..]works/webservices/library/co-single.html About how to get it right in Java - http://idiotechie.com/?p=1256 (google search) (amazon search) second |