A Singleton Escape Plan
A link to a PDF – Singleton_Escape_Plan.pdf
Read it if you want to get rid of Singletons in a enterprise solution, without doing a rewrite such, or dropping your ability to continually go live as normal. This is an update to an 2008 article that I had up on InfoQ. For v2.0, I’ve switched from talking about Guice to Spring specifically, because it’s still the container you’re most likely to encounter.
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)