• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Prototyping vs. singleton

 
sarma kiran
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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

thanks in advance
 
Sandeep Awasthi
Ranch Hand
Posts: 597
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Prototype scope creates new instance for new request, while singleton scope shares one instance among the requests.
 
sarma kiran
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks sandeep.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic