JBossCache does not act as an XA resource but participates in transactions via javax.transaction.Synchronization
Thanks Galder, to further clarify the behavior of "participaing" with javax.transaction.Synchronization, please let me know if my following assumptions are right:
1. When global transaction fails, jboss cache is able to rollback its own transaction.
2. When global transaction succeeds, jboss cache is able to commit its own transaction but if jboss commit fails, the global transaction cannot be rolled back.