> I have a Stateful session Bean which is accessed from a servlet.  Can I
call
> ejbRemove() method from servlet.

yes, you should do this as it will free up resources on the server.

> If I can, what does this do.  Will it remove
> the bean instance or only remove the state of the bean.

realistically, it will remove the state.  ALthough the server may also
remove the instance if it wants - but thats secondary.

> Also what happens to
> the passivated data (if the bean is in passivate state).  Will ejbRemove()
call
> ejbActivate() and then remove the bean.

yes.

> This is urgent.  Can anyone give me an immediate answer.

everything is urgent (o:

cheers
dim

>
> Thanks in advance.
> Prasad.
>
>
===========================================================================
> 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