David K Tong wrote:
>
> FYI, the new moscone spec specified the follow in P.111
>
> Note that the instance should not use the ejbActivate() method to read the
> state of the entity from the database; the instance should load its state only
> in
> the ejbLoad() method.

Basically it would seem reasonable to load an entity's immutable state
(if the entity has any immutable state) in ejbActivate, rather than in
ejbLoad.

If the application frequently deals with entities that are never
updated after the ejbCreate call, it would seem to be a perfectly valid
optimization for the component writer to load state in ejbActivate,
rather than ejbLoad.

Any comments?

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