aspose file tools
The moose likes OO, Patterns, UML and Refactoring and the fly likes Anti-patterns - Singleton. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Anti-patterns - Singleton." Watch "Anti-patterns - Singleton." New topic

Anti-patterns - Singleton.

jj johnson

Joined: Apr 23, 2008
Posts: 2
Anyone have any thoughts on singleton being an antipattern -- esp in context of using it with the Factory Pattern.
Are there any disadv -- to make the Factory a singleton?
Nitesh Kant

Joined: Feb 25, 2007
Posts: 1638

A lot of info in this faq entry.
Let know if you have doubts after reading that material.

apigee, a better way to API!
subject: Anti-patterns - Singleton.