This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Other Application Frameworks and the fly likes Spring beginner needs help with design issue 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 » Other Application Frameworks
Bookmark "Spring beginner needs help with design issue " Watch "Spring beginner needs help with design issue " New topic
Author

Spring beginner needs help with design issue

Julien Martin
Ranch Hand

Joined: Apr 24, 2004
Posts: 384
Hello,
I have a request-scoped bean that retrieves a parameter from the browser. I want to subsequently use that same parameter in order to instanciate a session-scoped bean and I do not want the session-bean to be instanciated before the first request is made to the request-scoped bean. The session-scoped bean is a member variable of the request-scoped bean.

This is the constructor for the session-scoped bean:


What do you think of my design? How do I go about configuring the xml?

Thanks in advance,

Julien.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Spring beginner needs help with design issue
 
Similar Threads
RequestDispatcher Parameters
Specific method for bean JSF!
onload function
Validation Error: Value is not valid
Context mapping between backing/managed beans