Jingfang
It depends. If this "old" data is hanging on to "active" resources you
should do that in ejbStore/ejbPassivate. If it only means to "refresh"
your bean's view then ejbLoad/ejbActivate are sufficient.
Note that ejbCreate/ejbFind "should" trigger ejbActivate/ejbLoad in
other words create/find should to an application imply instantiation of
a new instance.
hope this helps
-harsh-
> Hi,
>
> I have this problem even if I put a piece of code to clear the bean data at
> the beginning of ejbCreate and ejbFind methods. So I am wandering which is
> the right place to clear old data, should be in ejbLoad or ejbStore? Can
> anyone point me the right procedure to clear the old data? Thanks.
>
> Jingfang Wang
===========================================================================
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".