Is there an open-source solution to XA-transactional file access in Java?

前端 未结 4 1020
耶瑟儿~
耶瑟儿~ 2020-12-29 15:48

Is it possible to make XA-transactional access to the file system in Java? I want to manipulate files within the boundaries of a transaction and my transaction must partici

相关标签:
4条回答
  • 2020-12-29 16:15

    Recently I solved exactly the same problem. Finally I used Bitronix with XADisk.

    You can find more details in my blog post: JTA transaction manager – Atomikos or Bitronix?

    0 讨论(0)
  • 2020-12-29 16:32

    At Atomikos we did this about 10 years ago but dropped the idea due to lack of demand.

    We could resume our efforts if there is sufficient reason to do so.

    0 讨论(0)
  • 2020-12-29 16:36

    XADisk can get you what you are looking for. It's free and open source.

    0 讨论(0)
  • 2020-12-29 16:36

    At the time the JBoss Transactions intern started there was no XA capable file system driver for Java. I've not checked more recently, but nor have I seen any news about similar work. The work that Ioannis did during his internship is available if you want to use it, but not under active development at present. Unless you want to become an open source contributor :-)

    At some point in the future when we have the time and/or customer demand we may roll this functionality into the product. Meanwhile it's at www.jboss.org/jbosstm/fileio/ and the original project discussion is at www.jboss.org/community/wiki/JBossTSProjects

    Jonathan Halliday
    JBossTS dev team

    0 讨论(0)
提交回复
热议问题