2 Replies Latest reply on Feb 20, 2011 9:24 AM by kzuno

    JTA/WS-AT bridging

    kzuno

      Hi, I have a question.

       

      Is it possible that propagating a JTA transaction using a WS-AT with JBossAS6 ?

       

      For example,

      a JBossAS(client side) begins a JTA transaction, does some transactional works(like a EJB3 local session bean)

      and invokes a web service.

      another JBossAS(servier side) receives a web service request and does does some transactional works(like a EJB3 local session bean).

      client side JTA transaction controlls whole transaction boundary.

      so, JTA -> WS-AT transformation at client side, plus WS-AT -> JTA transformation at server side.

       

      And if it is possible, is there a sample code?

       

      regards.

        • 1. Re: JTA/WS-AT bridging
          adinn

          Uno Kazuya wrote:

           

          Is it possible that propagating a JTA transaction using a WS-AT with JBossAS6 ?

           

          For example,

          a JBossAS(client side) begins a JTA transaction, does some transactional works(like a EJB3 local session bean)

          and invokes a web service.

          another JBossAS(servier side) receives a web service request and does does some transactional works(like a EJB3 local session bean).

          client side JTA transaction controlls whole transaction boundary.

          so, JTA -> WS-AT transformation at client side, plus WS-AT -> JTA transformation at server side.

           

          And if it is possible, is there a sample code?

           

          Yes, this is possible in AS 6.. There is a transaction bridge package which can be used to perform bridging from JTA to WS-AT on the client side and from WS-AT to JTA on the server side. It includes a demo which shows how to bridge on the server side from WS-AT to  JTA.

           

          Look at the README in directory txBridge of the JBossTS release (for AS 6.0..0.Final the bundled version of TS is JBossTS 4.14.0.Final)

           

            http://anonsvn.jboss.org/repos/labs/labs/jbosstm/tags/JBOSSTS_4_14_0_Final/txbridge/README.txt

           

          This describes the package and identiifies the location of the documentation. The docs provide full instructions for building and deploying the bridge code and writing/configuring your application to use it.

          1 of 1 people found this helpful
          • 2. JTA/WS-AT bridging
            kzuno

            Hi, Andrew.

            Thanks for fast reply!