This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Spring and the fly likes Prototype V/S Request Scope in Spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Prototype V/S Request Scope in Spring" Watch "Prototype V/S Request Scope in Spring" New topic
Author

Prototype V/S Request Scope in Spring

Vaibhav G Garg
Ranch Hand

Joined: Sep 23, 2011
Posts: 140
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

Joined: Nov 17, 2012
Posts: 45
check out this.
 
 
subject: Prototype V/S Request Scope in Spring