Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Anti-patterns - Singleton.

 
jj johnson
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Bartender
Posts: 1638
IntelliJ IDE Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A lot of info in this faq entry.
Let know if you have doubts after reading that material.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic