GeeCON Prague 2014*
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


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.
 
GeeCON Prague 2014
 
subject: Spring beginner needs help with design issue