1 Reply Latest reply on Oct 7, 2003 6:05 AM by adrian.brock

    create new XAResource in JBoss

    emmanuelgad

      hello all,

      I have written an XAResource that persists files and want to integrate it into JBoss's Transaction management. In weblogic this XAResource used to talk to the transaction manager at runtime to create/retrieve XIDs as well as register this XAResource when it's first created.

      Can anyone show me how to do this in JBoss? perhaps some examples, steps or references i can check.

      Can JBoss's default transaction manager handle distributed transactions?

      many thanks. any help is very much appreciated.

      Emmanuel

        • 1. Re: create new XAResource in JBoss

          The standard mechanism for integrating XAResources
          is to write a Resource adapter.
          Although you can programmatically use JTA
          The TM is bound at java:/TransactionManager in jndi.

          The TM included with JBoss does not handle distributed
          transactions.
          You can plugin different transaction managers such as
          Arjuna's.

          Regards,
          Adrian