⟩ What is the diffrence between a local-tx-datasource and a xa-datasource? can you use transactions in both?
A local-tx-datasource identifies a data source that uses transactions, even distributed trans actions within the local application server, but doesn’t use distributed transactions among multiple application servers. An xa-datasource on the other hand identifies a data source that uses distributed transaction among multi-ple application servers.