VOOZH about

URL: https://jdevel.wordpress.com/tag/design-patterns/

⇱ design patterns | Development world stories


Development world stories

Java, Unix, computers and life of small developer of a big system

Posts Comments

The Perfect Singleton

October 2, 2010 2 Comments

From time to time I met Java programmers that are not really sure how they should implement Singleton pattern properly.
(if you don’t have an idea what Singleton is just try Wikipedia: Singleton pattern).

And I’m not talking about proper implementation in threaded environment. But using most common implementation you find over internet you can easily create as many singletons as you like.
Just imagine you have common singleton implementation:
Continue reading…

Filed under Java Tagged with design patterns, Java

Join 7 other subscribers

Blog at WordPress.com.

%d
Design a site like this with WordPress.com
Get started