In unsetEntityContext you can release the resources like file, connection
and in setEntityContext you can obtain them, This should also be done in
activate and passivate fns.


Regards
Ashwani Kalra
E-Commerce Group
NIIT Ltd. India


> ----------
> From:         Dave Ford[SMTP:[EMAIL PROTECTED]]
> Reply To:     A mailing list for Enterprise JavaBeans development
> Sent:         Friday, September 01, 2000 9:03 PM
> To:   [EMAIL PROTECTED]
> Subject:      set and unset context
>
> Can someone give a practical example of what might go in the
> setEntityContext and unsetEntityContext methods?
>
> Thanks
>
> Dave
>
> ==========================================================================
> =
> 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".
>
>
>
Visit http://www.NetVarsity.com for online learning

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