Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
johnathan keats
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic