General J2EE: 2 Phase Commit for Filesystem transactions
Is there any JTA compliant Filesystem management software in java which could be used to perform read, write operations on flat files so that it could participate in 2 phase commit with other data sources like DB or JMS?
- Posted by: Madhavan Thiyagarajan
- Posted on: February 28 2010 23:43 EST
XADisk supports both local and XA transactions over file-systems, both in JCA (available in J2EE standard) and non-JCA environments.
Hope that helps.
If you are not in managed environment like J2EE which supports XA/JTA, you can use standalone JTA transaction-manager (eg Atomikos) and integrate file-systems (via XADisk), databases, JMS etc into a single XA/JTA transaction.