...
All persistence implementations work works great in conjunction with each other or with the Transaction Demarcation component, which can for example make it the persistence management aware of JTA two-phase commit transactions etc. You just register your listeners in the Unit Of Work and the complete transaction will not be committed until all listeners have agreed on that.
...
