"Lahooti, Hamid" wrote:
>
>> It's not that dumb. The container cannot afford to keep every
>> bean instance that it creates, active. It's easy keeping the
>> ejb objects, they do not have state.
>>
>It's dumb since it's throwing away an instance which will most likely be
>used
>pretty soon. It should instead implement some kind of LRU algorithm to
>keep track of which instances that should be passivated.
>regards
/Kalle

That's easier said than done. LRU does not help you when a different
container updates your bean instance's external representation. Pretty
soon your cache is out of date!

Regards
Hamid

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