aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Singleton pattern use Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Singleton pattern use" Watch "Singleton pattern use" New topic
Author

Singleton pattern use

Naresh Chaurasia
Ranch Hand

Joined: May 18, 2005
Posts: 358
Hi,
Can some one give me practical application of Singleton pattern and when it should be used.


SCJP 1.4, SCWCD1.4, OCA(1Z0-007)
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

When *should* it be used? That's likely to start The Debate.

http://en.wikipedia.org/wiki/Singleton_pattern#Common_uses
Muhammad Khojaye
Ranch Hand

Joined: Apr 12, 2009
Posts: 449

Naresh Chaurasia wrote:Can some one give me practical application of Singleton pattern and when it should be used.

check out this Faq.



http://muhammadkhojaye.blogspot.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Singleton pattern use