• Post Reply Bookmark Topic Watch Topic
  • New Topic

Prototyping vs. singleton  RSS feed

 
sarma kiran
Ranch Hand
Posts: 30
  • 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
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks sandeep.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!