UserTransaction ut = UserTransaction.getUserTransaction();
TransactionManager tm = TransactionManager.getTransactionManager();
DemoDurableParticipant p = new DemoDurableParticipant();
DemoVolatileParticipant pz = new DemoVolatileParticipant();
ut.begin();
try {
tm.enlistForDurableTwoPhase(p, p.identifier());
tm.enlistForVolatileTwoPhase(pz, pz.identifier());
} catch (Exception eouter) {
try {