I am looking for a framework / pattern of how to manage distributed transactions in JEE. My own application changes a local Database and also calls Remote Webservices which should logically be within the same transaction scope. There is no technical transaction scope, so I guess I will have to call compensational Webservices.
I guess there are several issues involved:
- bookkeeping of called remote webservices for which a TA compensating webservice has to be called if the main TA fails.
- the calling mechanism itself
Is there a framework or a common pattern which can be used for that purpose? I guess that's a common requirement in a distributed environment for which the wheel does not have to be reinvented...
Any help appreciated. Thanks in advance,