I think that is the way it must *appear* to the client, so that as you
mentioned:

>When the client invokes a method again on that stateful bean then
> the bean
> > is activated and the
> > method invocation proceeeds

However, a given container is surely free to implement this (and the
associated EJBOject) any way it chooses.

Mike

--- Tony LaPaso <[EMAIL PROTECTED]> wrote:
> My understanding is exactly the same as yours. I think you are 100%
> correct.
>
>
> ----- Original Message -----
> From: "Hemant Arora" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, March 13, 2002 11:37 PM
> Subject: Stateful Session Bean Question !!!
>
>
> > Hi All
> >
> > Can someone please clarufy on this.
> >
> > When a stateful session bean is passivated the sun specs and most
> of the
> > books say
> > that the bean instance is evicted from the memory and all the non
> transient
> > fields are written
> > to a persistant storage ( mostly disk ).
> >
> > When the client invokes a method again on that stateful bean then
> the bean
> > is activated and the
> > method invocation proceeeds
> >
> > Now as per my understanding when the bean instance is evicted from
> the
> > memory ,
> > The Ejb Object that the container has generated for the remote
> interface
> > for that bean class
> > still remains ( isn't it ) and that is still referenced to the
> client ,
> > that's why when the client invokes
> > the method again the bean is loaded
> >
> > I mean to say that during the passivation the bean instance is
> evicted
> from
> > the memory but not the
> > ejbobject
> >
> > Am I correct ???
> >
> > Is my understading correct ???
> >
> >
> > Please clarify
> >
> > Thanks a lots
> >
> > Hemant
> >
> > -----------------------Disclaimer------------------------
> >
> > The views of the author may not necessarily reflect those
> > of the Company. All liability is excluded to the extent
> > permitted by law for any claims arising as a result of the
> > use of this medium to transmit information by or to
> > IT Solutions (India) Pvt. Ltd.
> >
> > We have taken precautions to minimize the risk of
> > transmitting software viruses, but we advise you to
> > carry out your own virus checks on any attachment to
> > this message.  We cannot accept liability for any loss or
> > damage caused by software viruses.
> >
> > ------------------------Disclaimer------------------------
> >
> >
>
===========================================================================
> > 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".
>


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

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