anup_bd wrote:
>
> Hi,
> This is a very basic question.
> I am using Stateful Session Bean with Value List Handler for
> displaying lists (EJB1.1) for an application based on J2EE.
> After the work with Bean is throu, I want to remove it explicitly. Can
> I do this using ejbRemove() in my servlet ?
>
> Thanks in advance,
> Anup
Yes (though it's remove, not ejbRemove). You'll need to be saving the handle to
your SFSB somewhere other than in the servlet itself, eg in HTTPSession. So when
you no longer need that particular object you can retrieve the handle and issue
one of 3 different removes:
home.remove(Handle h)
home.remove(Object o)
o.remove()
You'll find these methods in EJBHome and EJBObject.
========================================
Ian McCallion
Alexis Systems Limited
Romsey, UK
Tel: +44 1794 514883
Fax: +44 1794 501692
========================================
===========================================================================
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".