• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

storing session

 
Giju George
Ranch Hand
Posts: 333
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Where is the best place to store user session.. in a Servlet or Stateful Session Bean.... and Why ???
 
David Follow
Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a whole bunch of threats in this forum regarding your question, just use the search button...

D.
 
Jose Jim´┐Żnez
Ranch Hand
Posts: 101
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In this case, i will used stateful so the bussines logical can be access as web client as swing client . (Reused Code)
 
rottscha rotti
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Th ebest place would be in a servlet, because you use a StatefulsessionBean for more complex objects like a ShoppingBasket

rottscha
 
Giri Alwar
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are pros and cons to either approach. You will need to weigh them and select the one that makes sense to you. That is part of the assignment.

As a side note, I would like to request that folks don't provide answers to such specific questions. I know folks have in the past but it is important that we all help preserve the integrity of the assignment. It is ok to discuss generic concepts but please refrain from answering specifics on the exam.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic