This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes Recording the user session on JBoss and returning different views based on the session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Recording the user session on JBoss and returning different views based on the session" Watch "Recording the user session on JBoss and returning different views based on the session" New topic
Author

Recording the user session on JBoss and returning different views based on the session

johnathan keats
Greenhorn

Joined: Nov 19, 2009
Posts: 7
I have a JSF function which returns different views depending on certain information stored on the user currently viewing/manipulating the page. I.e. depending if the customer has a gold/silver/bronze subscription, the view will display different amounts of information. Is there a JBoss way to do this simply? I read something about SessionBean but I am not sure as to how to implement it, or even if the Bean will contain the data that I need.

BTW I am on JBoss 7.1 with JPA 2 and Java EE 6


John Keats is a poet, NOT my real name!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Recording the user session on JBoss and returning different views based on the session