It is a bit weird to ask this, I just faced an application in development which make extensive use of @EJB Remote to @EJB Remote on the Same Package. I know is a very bad approach since you have a transaction and you do the rest possibly with CDI and managed entities around and if necessary Local EJB with requires new. On this Application I have seen EclipseLink ConcurrencyManager Exceptions locks, Huge RMI IIOP stacks while Lazy Loading. and other gray behaviours. (this Remote EJB do not pass entities but only pointers to @Id between them, then use EntityManager.find , EntityManager.merge and Occasionally EntityManager.refresh)
I couldn't find any answer (may me i was not careful enough) around the web and neither in the EJB specs.
You have 2 Implementation @Stateless EImpl1 and @Stateless EImpl2 each of them implements @Remote E1 and @Remote E2.
on EImpl1 you @EJB E2.
does E2 react like TransactionAttributeType.REQUIRES_NEW ? I would bet on a Yes, but i am not sure, if someone can explain me,.. i would be thankfull
Thanks a Lot for your help.