News: Breaking the Singleton
Singleton is one of the most famous design patterns, that is being used quite a lot. However, some of the developers are unaware that the "singleton-ness" singleton pattern can be broken using different ways. This discussion is about breaking the Singleton pattern in Java using using different methods, and how to avoid some of those. http://yohanliyanage.blogspot.com/2009/09/breaking-singleton.html
- Posted by: Yohan Liyanage
- Posted on: September 24 2009 10:29 EDT
Is there any other ways to break the singleton than the ones mentioned in this article??
really nothing new here, all of them had been discussed in the book Effective Java (2nd Edition) authored by Joshua Bloch.