On Thu, 1 Mar 2001 04:52:11 -0800, Kirk Pepperdine <[EMAIL PROTECTED]>
wrote:

>but what's the point of pooling entity beans?
>

I'd say there are two cases. If your EntityBeans do not have a lot of
client and entity identity specific state, then it might just as well be
better to not to pool Entity instances, since todays JVM's do quite a
decent job at memory mgmt anyway.

However, if you allocate a lot of state in setEntityContext (i.e. state
that is not client and not identity dependent) it's another deal. As it
happens I had a case like this where the pooling of instances was
absolutely critical to getting decent performance.

So, as usual, it depends on the particular usecase. At least the EJB
contract allows it.

regards,
  Rickard

--
Rickard Öberg

Email: [EMAIL PROTECTED]

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