wood burning stoves*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes storing session Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "storing session" Watch "storing session" New topic
Author

storing session

Giju George
Ranch Hand

Joined: Jun 08, 2004
Posts: 333
Where is the best place to store user session.. in a Servlet or Stateful Session Bean.... and Why ???


SCJP 1.4, SCWCD 1.4, SCBCD 1.3, SCEA
David Follow
Ranch Hand

Joined: Oct 16, 2001
Posts: 223
There are a whole bunch of threats in this forum regarding your question, just use the search button...

D.


SCJP, SCEA
Jose Jim�nez
Ranch Hand

Joined: Jun 15, 2005
Posts: 101
In this case, i will used stateful so the bussines logical can be access as web client as swing client . (Reused Code)


SCEA<br />SCWCD<br />SCJP
rottscha rotti
Greenhorn

Joined: Jan 18, 2005
Posts: 21
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

Joined: May 27, 2005
Posts: 37
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.


SCEA<br />SCJD<br />SCJP
 
wood burning stoves
 
subject: storing session
 
Similar Threads
Alternative to Cookie?
Advice on persisting complex state across multiple server trips
ASP
Session problem in NetBeans
Field set in action method coming null in JSP