6 Replies Latest reply on Oct 23, 2013 1:48 PM by Wolf-Dieter Fink

    EJB Transactions over multiple applications in the same JVM

    qtm Newbie



      If a have EJB's in different EAR's deployed in the same server, can I use them in the same transaction(using the correct transaction attributes )?



      Bean1 in App1.ear

      Bean2 in App2.ear


      In Bean3 in App3.ear I'd like to inject Bean1 and Bean2 and call some of their method in a method in Bean3. If anything goes wrong at any point, I want all the beans to rollback. Is it possible?