Only stateless session beans can be instance pooled. Because there is no
identity associated with a stateless session bean. So they can serve any
client. Even though a stateful bean has no identity but they are dedicated to
a single client. The entity beans have an identity(Primary key) associated
with them. So even they are instance pooled they won't be of much help
because they can't be used to serve any other client. Therefore the
specification doesn't allow instance pooling of stateful and entity beans.

But there are vendor specific solutions like weblogic allows caching of
entity and stateful beans.

Rgds
Satya


-----Original Message-----
From: Hariharan N [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 3:35 PM
To: [EMAIL PROTECTED]
Subject: Entity Beans


Can the Entity beans Instanced Pooled? If not why??

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

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