> |EJBObject calls, true. Reentrant calls in one tx on an Entity marked as
> |non-reentrant should fail however. I could not see in code that this was
> |dealt with.
>
> That is correct but again the test that was there and you are referring to
> considered every thread in a used bean as reentrant... this was wrong.
This
> is not what "reentrant" means and not only on EJBObject calls.

Hm.... if bean A calls bean B which calls bean A, then that is a reentrant
call. If bean A calls bean A through the EJBObject, then that is a reentrant
call. If the bean is marked as non-reentrant, an exception should be thrown.
Da law of da spec.

/Rickard



Reply via email to