A Singleton Escape Plan
Join the DZone community and get the full member experience.
Join For FreeA 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, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Trending
-
[DZone Survey] Share Your Expertise for Our Database Research, 2023 Edition
-
IntelliJ IDEA Switches to JetBrains YouTrack
-
How to Optimize CPU Performance Through Isolation and System Tuning
-
HashMap Performance Improvements in Java 8
Comments