Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

A Singleton Escape Plan

DZone's Guide to

A Singleton Escape Plan

· Java Zone
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

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.

 

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat

Topics:

Published at DZone with permission of Paul Hammant, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}