For SSB, it depends on EJB server implementation. If one has implemented one
EJB object for ssb and same instance is returned from create(), then it shud
be thread safe.
But if vendor creates new ejbobject for each create(), then it can't.

In specs it mentions in OID that new ejbobject() to be created, but I think
one ejbobject() can serve purpose in SSB.

Any comments from vendors..

punit


> > And also I am planning to take the objref in the client side and let
> > multiple threads use it. I am pretty sure that this thing
> > will bomb in case
> > of stateful sssion bean -- but whether the same will happen
> > for stateless is
> > the question.
>
>It will bomb for both stateless and stateful SBs if you use it in two
>threads _concurrently_. Also, both will work correctly no matter how many
>threads are used if accesses to the EJBObject are serialized.
>
>- Avi
>--
>s/\be(\w+)/e-\1/g;
>
>===========================================================================
>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".
>

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

Reply via email to