Imre Kifor wrote:

> With Java 2 the situation changes drastically. A Java 2 based server can
> hold on to entity objects with "weak" references, thus allowing unused
> entities to be collected automatically. As you already know, being able to
> create entities on the fly dramatically increases server resident data reuse
> and decreases unnecessary session object creations and maintenance. The
> downside? One would say DGC. However, DGC is used regardless whether you
> access session or entity objects. Actually, chances are that with entity
> references you will need less DGC since you are passing around fewer remote
> references.

And in this case, how do you avoid GCing entity objects where the
client only hold a Handle for the entity as opposed to an EJBObject
for the entity?

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