Enterprise Integration Zone is brought to you in partnership with:

Paul is a principal consultant at ThoughtWorks. He is enthusiastic about open source in particular. He is known for Dependency Injection (one of its pioneers with PicoContainer), Selenium browser automation (co-founder), Branch by Abstraction and most recently Client-Side MVC frameworks. Paul is a DZone MVB and is not an employee of DZone and has posted 76 posts at DZone. You can read more from them at their website. View Full User Profile

A Singleton Escape Plan

03.25.2013
| 6109 views |
  • submit to reddit

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.

 

Published at DZone with permission of Paul Hammant, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)