This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes Information about Singleton Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Information about Singleton" Watch "Information about Singleton" New topic
Author

Information about Singleton

Kumaran Sowrirajan
Ranch Hand

Joined: Oct 15, 2001
Posts: 36
Hi friends
Can anyone tell me about the features and functionality of singleton onject?
Thanks and Regards
Kumaran.S
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 13001
    
    5
Singleton is not an object but a Design Pattern. With this pattern, the constructor for a class is private and a special static method is provided to get an instance of the class. This method ensures that only one instance is created.
A typical use would be to ensure that all access to a particular system resource goes through a single point.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Information about Singleton
 
It's not a secret anymore!