In the real work application, you have many changes to work with multiple resource. One of them is database or messaging service. Especially, for the database, if you work with the databases. Tables could be on different databases distributed across network. Many time, you need to implement business logic that required to perform transaction across those datasources. This kind of transaction is know as distributed transaction. JAVA EE (Wildfly) provides XA datasource to implemented distributed transaction across datasources. XA uses two phase commit to manage distributed transaction. Read more
No comments:
Post a Comment