users@ejb-spec.java.net

[ejb-spec users] Re: _at_Transactional and _at_TransactionAtribute

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Thu, 20 Jun 2013 11:16:43 -0700

The EJB 3.2 spec does not allow the former: "It is illegal to associate
JTA transactional interceptors (see [8]) with Enterprise JavaBeans." But
it should be fine to call between EJBs and @Transactional CDI beans
exactly the same way as you call EJBs from one to the other.

Best,
-marina

On 6/20/13 1:48 AM, Dirk Weil wrote:
>
> Hi everybody,
>
> with the new @Transactional platform wide transaction interceptor it
> is theoretically possible to place it on an ejb. Does the
> specification clarify what happens in that case? What about mixing
> strategies, i. e. calling a @Transactional cdi method from an ejb and
> vice versa?
>
> Thanks for any clarification
>
> Dirk
>