Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Prototype V/S Request Scope in Spring" Watch "Prototype V/S Request Scope in Spring" New topic

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: 44
check out this.
Consider Paul's rocket mass heater.
subject: Prototype V/S Request Scope in Spring
Similar Threads
Prototyping vs. singleton
Request scope vs Prototype scope
What is the difference between prototype and request scope?
Making a bean as Stateful using spring
Bean Problem