A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
OO, Patterns, UML and Refactoring
Anti-patterns - Singleton.
Joined: Apr 23, 2008
Apr 23, 2008 08:22:00
Anyone have any thoughts on singleton being an antipattern -- esp in context of using it with the Factory
Are there any disadv -- to make the Factory a singleton?
Joined: Feb 25, 2007
Apr 23, 2008 22:30:00
A lot of info in
Let know if you have doubts after reading that material.
, a better way to API!
I agree. Here's the link:
subject: Anti-patterns - Singleton.
most common patterns
Programming to interfaces or abstract classes?
Use of Singleton Classes
Controlling the no of instancecs of a class
Singleton and java garbage collection...and issue?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015