This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring beginner needs help with design issue  RSS feed

 
Julien Martin
Ranch Hand
Posts: 384
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!