2 Replies Latest reply on Aug 1, 2007 8:55 AM by Mark Little

    OTS resource enlistment

    Ivan Neto Newbie

      There are some threads on this forum about WS-TX/JTA bridging. I was wondering how things work with OTS. Suppose I have two EJBs (A and B) deployed in different JBoss instances. If EJB A makes a transactional call (using IIOP) to EJB B and EJB B uses a database, is an org.omg.CosTransactions.Resource automatically registered with the coordinator of the transaction propagated in the IIOP call from A to B? Or I (JBossTS user) need to explicitly get the XAResource, wrap it in an org.omg.CosTransactions.Resource and then call org.omg.CosTransactions.Coordinator.register_resource()?

      Thanks in advance.