Paul Hammant's Blog: A Singleton Escape Plan
Just a link to a PDF - Singleton_Escape_Plan.pdf
Read it if you want to get rid of Singletons in an enterprise solution, without doing a rewrite such, or dropping your ability to concurrently go live with a stream of functional deliverables. This is an update to an 2008 article that I had up on InfoQ - “Drinking your Guice too quickly”. For this “v2.0” version, I have switched from talking about Guice to Spring, because it’s still the Dependency Injection container you’re most likely to encounter in Java-land.
blog comments powered by Disqus