When user logs in to web site, create new stateful session bean which
holds "background color" ect.  Store handle to stateful bean in
Session.  To avoid going back to db, when need to find out "background
color" on later page, simply get the bean and ask.  If user changes
background color, modify db and stateful bean.  All is well in the
world.

Now the problem.  I have 2 app servers.  So, I have 2 sessions that I
need to reference this same stateful bean.  How can I get the handle to
be passed from app server 1 to app server 2?  Do I have to persist the
serializable handle with app server 1 sessId to the db and recover it
and store it to app server 2 by passing server 1 sessId in http post and
then using it to do lookup and recovery of handle from db?  Can I pass a
serializable handle thru a post and put it to session 2 somehow?  Has
anyone else solved this problem?
--
Tom

Thomas Preston
Vacation.com, Inc.
Engineering Department
617.210.4855 x 124

===========================================================================
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