> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Murthy, A (CAP, GEFA,

> Suppose I have a stateful session bean.  USer is logged into the aplication
> and doing his work. Suppose, in between application server crashed or
> shutdown. In that case, if we restart the server, can I restore or load my
> previous state of my stateful session bean before server crash / shutdown
> back after the server restarted again ?

Only if your application server supports in-memory replication of stateful
session beans.

Or you can roll your own, which basically involves broadcasting information on
a mirror each time your SFSB changes its state (and all the associated
headaches :-)).

> Can we store the state in the disk?

It's probably easier to implement than in-memory replication, but also more
expensive.

I would still think twice before developing my own scheme to do that, though,
and I would try and push this problem to the presentation layer instead.

--
Cedric

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