Ang Meng Hua wrote:
>
> Does anyone has the answer to the following scenario?
>
> Client has a remote reference to an entity bean.
> Spawned off two threads that uses the remote reference to invoke
> methods on the entity bean.
> If optimistic concurrency is used by the container, i.e multiple instances
> are used to serve different transactions, are the two threads dealing
> with different bean instances or just one?
> If both threads are interacting with the same bean instance, that would
> mean that client remote reference is "pinned" to an instance of the entity bean, 
>unlike stateless session bean, is that right?
> How does the container handle the above scenario?

The container may report an illegal non-reentrant call.

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

--
________________________________________________________________________________

Evan Ireland              Sybase EAServer Engineering        [EMAIL PROTECTED]
                            Wellington, New Zealand               +64 4 934-5856

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