So I have what may be considered a stylistic question. In my BMP entity
bean I want to lookup a data source, or perhaps a home interface for an
associated entity bean. I want to cache this information in the bean.
Since passivation is when the information should be cleaned out, is
activation the time to reload the cache? Right now I just lazily fetch the
information when needed, and cache it at that point. Of course I have to
clean it up during passivation. I believe that I have seen somebody else
cache this information on the call to setEntityContext() but this seems like
a side effect if implemented in that method.
Comments?
Cheers
Jay
===========================================================================
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".