Abstract:
Aiming at the compensation problem in Web Service transaction processing mechanism, this paper presents a semi-automatic compensation mechanism for the transaction. The mechanism uses the database system triggers technology to solve unified compensation in the distributed and heterogeneous platforms. This mechanism is applied in Web Service, which can standardize compensation logic in order to ensure system consistency. Web Service designers can determine the compensation rules, and dynamically generate compensation at the transaction run-time. Experimental results show this method is beneficial to focus on the use of compensation strategies, with a certain degree of expansibility.
Key words:
Web Service,
workflow,
trigger,
transaction,
compensation
摘要: 针对Web Service事务处理机制中的补偿问题,提出一种半自动的事务补偿机制,使用数据库系统中的触发器技术,解决了在Web Service分布、异构平台上对事务活动进行统一的补偿问题,将机制应用在Web Service中,可以规范补偿逻辑,从而保证系统的一致性,Web Service设计者可以确定补偿的规则,并在事务运行时动态生成补偿策略。实验结果表明,该方法有利于集中利用补偿策略,具有良好的可扩展性。
关键词:
Web服务,
工作流,
触发器,
事务,
补偿
CLC Number:
ZHANG Xiao-wen; HUANG Yong-zhong; LI Zhan-jun. Workflow Compensation Mechanism Based on Web Service[J]. Computer Engineering, 2009, 35(24): 99-102.
张晓雯;黄永忠;李占峻. 基于Web Service的工作流补偿机制[J]. 计算机工程, 2009, 35(24): 99-102.