title: What's the difference between nonXADatasource with jta="true" and XADataSource?
body: <p>I was confused by the fact that we can allow to use JTA transactions with a non-XA-datasource. <a href="https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Development_Guide/sect-Transactional_Datasource_Configuration.html" rel="noreferrer">Link to the documentation</a>. So what is the difference between XA/non-XA datasources? Why should we use XA-datasources at all?</p>