Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Prototype V/S Request Scope in Spring

 
Vaibhav G Garg
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The prototype scope creates a new object whenever there is a new request for that object. And, request scope also creates a new object for each request for that particular request. So, what is the actual difference between the two scopes and can't we achieve the similar functionality using prototype request only??
 
Ayan mallick
Ranch Hand
Posts: 46
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check out this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic