aspose file tools*
The moose likes Spring and the fly likes Prototyping vs. singleton Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Prototyping vs. singleton" Watch "Prototyping vs. singleton" New topic
Author

Prototyping vs. singleton

sarma kiran
Ranch Hand

Joined: Jul 17, 2008
Posts: 30

Can any one tell me the difference between Prototyping vs. singleton for the bean?

thanks in advance
Sandeep Awasthi
Ranch Hand

Joined: Oct 23, 2003
Posts: 597
Prototype scope creates new instance for new request, while singleton scope shares one instance among the requests.


Sandeep
sarma kiran
Ranch Hand

Joined: Jul 17, 2008
Posts: 30

Thanks sandeep.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Prototyping vs. singleton