作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2006, Vol. 32 ›› Issue (20): 72-74. doi: 10.3969/j.issn.1000-3428.2006.20.027

• 软件技术与数据库 • 上一篇    下一篇

Web服务环境下JTA事务的扩展方法

吴永华,饶若楠,戚正伟   

  1. (上海交通大学计算机科学与工程系,上海 200030)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2006-10-20 发布日期:2006-10-20

Method to Extend JTA Transaction in Web Service Environment

WU Yonghua, RAO Ruonan, QI Zhengwei   

  1. (Department of Computer Science and Engineering, Shanghai Jiaotong University, Shanghai 200030)
  • Received:1900-01-01 Revised:1900-01-01 Online:2006-10-20 Published:2006-10-20

摘要: 事务处理是构建企业级应用的必要基础。随着Web服务技术的发展,以及在企业信息集成中的广泛应用,Web服务已经成为构建成功的企业级应用的成熟技术,但是这些正在实施的Web服务项目对事务处理的支持仅仅是利用传统的Web技术明确地写入代码进行控制或者通过对后台信息系统进行只读访问而明确禁止。该文在分析J2EE事务模型的基础上,讨论了如何通过对JTA事务进行扩展,从而使得JTA事务能够在Web服务之间进行传播并且保持其ACID属性。

关键词: 事务处理, Web服务, JTA, WS-C/T

Abstract: Transaction process is the necessary basis for constructing enterprise application. While the development of technique and the broad application in enterprise information integration, Web service has become the mature technique for building successful enterprise application. But all those implementing Web service projects only support transaction process by explicitly coding using traditional Web technique or by making the background information system read only to forbid transaction. This paper details how to extend JTA transaction to enable the propagation of JTA transaction and preserve its ACID properties among Web services.

Key words: Transaction processing, Web service, JTA, WS-C/T