Yes , you have to store the handle in the session. For more robust
implementation you will have to persist the data on secondary storage.
because in case your session time outs or server crash you will have to
again get the handle to the ejb and user will have to do all the activity
again.

Cheers
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ashwani Kalra
http://www.geocities.com/ashwani_kalra/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

----- Original Message -----
From: "Ravi_bhattiprolu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 08, 2002 3:54 PM
Subject: Shopping Cart! Urgent!!!


Hi,
 I am building  a shopping cart - a stateful session bean.
 This cart will be invoked from a stateless session bean which does other
validations and finally persists the data thru a DAO.
 When the client hits the CART for the first time i'll invoke the shopping
cart in the stateless session bean.
 my question is ..
Do i have to Store this HANDLE to the shopping cart in the session..
so that for subsequent requests invoke the operations on the Object obtained
from the stored Handle.

or is there any other way?

TIA....

Ravi . B
Ph :- 4509530/40
Ext :- 80412
The people who get on in this world are the people who get up and look for
the circumstances they want, and, if they can't find them, make them.

=========================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to