• Post Reply Bookmark Topic Watch Topic
  • New Topic

Singleton class  RSS feed

 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
What is singleton class?
Thanks
 
author & internet detective
Sheriff
Posts: 38068
610
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bhaskar,
This article has a good description.
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi bhasker,
Singleton class means at any point of time only one instance of the class will be used.generally in MVC Architecutre ,the Sevlrt will be made singleton to handle the requests.

Thx and regards
-Srini
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!