>* using BMP entity beans with no "setXXX" methods
>* before going to the database to retrieve the rows, check if the
>  entity bean properties are NULL. If they are, load them from the
>  database, if they are not, assume they have already been loaded and
>  use them without going to the database.

This would work only if you could get the container to
keep the bean instance active. In practice, you cannot
and the container will passivate the instance as soon as
the transaction completes so you cannot really use this
method for a singleton cache.

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