This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session-scoped Backing Bean

 
Luay Abdulraheem
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

Should I show in my diagrams the Session-scoped Backing Bean that will maintain the state of the user or not ?

If yes, then there will be some questions following !
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's part of how you are using JSF, so I think you should show it. Part 3 won't have questions on that decision though as the questions are higher level and pertain to any assignment.
 
Luay Abdulraheem
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In the Java EE 5 tutorial case study, The Duke's Bank Application, the EJBs have been injected only in the Session-scoped Backing Bean.
Is there any reason behind that ? or can I injects my EJBs in other Backing Beans even if they were Request-scope ?
If yes, then there will be some questions following !
Thanks
 
Nilessh Ganu
Ranch Hand
Posts: 100
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Luay Abdulraheem wrote:In the Java EE 5 tutorial case study, The Duke's Bank Application, the EJBs have been injected only in the Session-scoped Backing Bean.
Is there any reason behind that ? or can I injects my EJBs in other Backing Beans even if they were Request-scope ?
If yes, then there will be some questions following !
Thanks


I also have the same question. Can any one comment ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic