9 Replies Latest reply on Apr 4, 2019 9:00 AM by tomjenkinson

    Narayana JTS and Blacktie XATMI Java Implementation

    msp691989

      I am trying to locate the Narayana JTS and Blacktie XTAMI's Java implementation in github code.

       

      I found blacktie xatmi project "https://github.com/jbosstm/narayana/tree/master/blacktie/jatmibroker-xatmi" but does not have implementation for global tx related APIs.

      I found XTAMI APIs in "org.jboss.narayana.blacktie.jatmibroker.xatmi.Connection" (https://github.com/jbosstm/narayana/blob/master/blacktie/jatmibroker-xatmi/src/main/java/org/jboss/narayana/blacktie/jatmibroker/xatmi/Connection.java)

       

      Also, I found the transaction calls (tx_begin, tx_open, etc.) in "com.arjuna.ats.jts.tx.tx" (https://github.com/jbosstm/narayana/blob/master/ArjunaJTS/jts/classes/com/arjuna/ats/jts/tx/tx.java)

      But, I did not find the implementation inside those methods. The methods are only setting status.

       

      Can you please help with sharing the implementation of Narayana JTS APIs

       

      I have a C application where we are planning to replace Tuxedo and Oracle with Narayana and Postgres. But PostgreSQL does not have a C API for distributed transaction management. So in order to perform global transactions, we are using the Narayana JTS and Blacktie XATMI's Java implementation. Then we will invoke the Java APIs using JNA from C program.