here is what spec says:
<<<<<<<<<<<<<<<<<<<
Because all instances of a stateless session bean are equivalent, the
container can choose to delegate a
client-invoked method to any available instance. This means, for example,
that the Container may dele-gate
the requests from the same client within the same transaction to different
instances, and that the
Container may interleave requests from multiple transactions to the same
instance.
>>>>>>>>>>>>>>>>>>>>
I read it as "the Container may interleave requests from multiple
transactions to the same instance", but not at the same time? because the
following paragraph states:
<<<<<<<<<<<<
A container only needs to retain the number of instances required to service
the current client load. Due
to client �think time,� this number is typically much smaller than the
number of active clients. Passiva-tion
is not needed for stateless sessions. The container creates another
stateless session bean instance if
one is needed to handle an increase in client work load. If a stateless
session bean is not needed to han-dle
the current client work load, the container can destroy it.
>>>>>>>>>>>>>>>
I see nowhere it mentions threads and concurrency, but "the number of
instances required to service the current client load" sounds clear to me
that it means one client request maps to one stateless session bean
instance?
Thanks.
>From: James Cook <[EMAIL PROTECTED]>
>
>----- Original Message -----
>
>I always thought that couldn't happen (if by SSB you mean Stateless Session
>Bean).
>
>However, according to the spec (6.8), it is stating that two client threads
>can indeed be running concurrently within the same instance of a SLSB.
>
>jim
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
===========================================================================
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".