One kind of automatic compensation algorithm for Web services transactions
In order to solve the Web Service Transaction Management, the author proposed and realized a kind of compensation-based transaction mechanism, which developed the Transaction engine. It takes advantage of pre-compensation and WS-Transaction specification s' two-phase commitment to parse the database operation statements participant transaction, to do a scene preservation possible changes in the database, and generating the statement set for compensation automatically. When need to cancel the transaction, the management center will rollback automatically according to the client vote and compensate information, which can better solve the problem of Web Service transactions.