SLSB remove() is an illusory method. E.g. in JBoss it is a no-op.
Clients are given the illusion that they control the life-cycle in a
consistent fashion for all Entity Beans. Per the spec:

<quote>
To the client, it appears as if the client controls the life cycle of
the session object. However, the container handles the create and remove
calls without necessarily creating and removing an EJB instance.
</quote>

Note: above is true of SLSB only.

Fred Loney
Spirited Software, Inc.
www.spiritedsw.com

----- Original Message -----
From: "Pranav Shah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, April 20, 2002 7:36 AM
Subject: Re: Session Bean


> when you call remove() method at that time the EJBObject for that
> particular bean is destroyed.Not the bean.
>   let me know if i am wrong.
>
> Thanks
> Pranav
> On Fri, 19 Apr 2002 JavaSoft wrote :
> >Hi all
> >I have read about stateless session and stateful session,
> >stateless means the session object can be used by diffrent user
> >if the object session is free... ( this is mean the session
> >object isnt destroyed after a client used it but sits in the
> >session pool )
> >My question is how about if the ejbRemove() method invoked by
> >container, is the session object still exist in the pool ? if
> >not, and if i make every client that uses the session Object
> >calls statelessSession.remove() after finished use the session,
> >it means the session object will be destroyed .. so the stateless
> >feature is gone .. am i right ?
> >
> >===
> >thx,
> >a Java Addicted
>
> _________________________________________________________
> Click below to visit monsterindia.com and review jobs in India or
> Abroad
> http://monsterindia.rediff.com/jobs
>
>
========================================================================
===
> 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