On Sun, 28 Oct 2001, Ian McCallion wrote:

> 1. Surely, whether the client threads are using user transactions or not, if you
> attempt to access the same stateful session bean from two client threads
> simultaneously then you should expect to get an error because EJBs are not
> allowed to have multiple threads running simultaneously through them and the
> server is not required (by the spec) to serialize.

There's a setting on the deployment descriptor - Re-entrant - that handles
this. So, yes, the server may queue requests or have multiple accesses being
made if you tell it that it is OK.

--
Justin Couch                         http://www.vlc.com.au/~justin/
Freelance Java Consultant                  http://www.yumetech.com/
Author, Java 3D FAQ Maintainer                  http://www.j3d.org/
-------------------------------------------------------------------
"Look through the lens, and the light breaks down into many lights.
 Turn it or move it, and a new set of arrangements appears... is it
 a single light or many lights, lights that one must know how to
 distinguish, recognise and appreciate? Is it one light with many
 frames or one frame for many lights?"      -Subcomandante Marcos
-------------------------------------------------------------------

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