• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2011, Vol. 33 ›› Issue (3): 172-178.

• 论文 • 上一篇    下一篇

扩展SCA绑定实现SCA组件间的高效率通信

贺旭,李洪奇,周坤,陈郁   

  1. (中国石油大学(北京)计算机科学与技术系,北京 102249)
  • 收稿日期:2010-01-26 修回日期:2010-04-18 出版日期:2011-03-25 发布日期:2011-03-25
  • 作者简介:贺旭(1969),男,湖北咸宁人,博士,工程师,研究方向为软件工程、SOA/SCA、中间件和人工智能等。李洪奇(1960),男,辽宁昌图人,博士,教授,博士生导师,研究方向为人工智能、软件工程、数据挖掘与知识发现等。周坤(1982),女,辽宁抚顺人,硕士,研究方向为软件工程、数据挖掘等。陈郁(1980),女,山东泰安人,硕士,研究方向为数据库应用系统。

Implementation of the Efficient  Communication Between SCA Components

HE Xu,LI Hongqi,ZHOU Kun,CHEN Yu   

  1. (Department of Computer Science and Technology,China University of Petroleum,Beijing 102249,China)
  • Received:2010-01-26 Revised:2010-04-18 Online:2011-03-25 Published:2011-03-25

摘要:

SCA因解决了组件的标准化和装配问题而受到广泛关注,但是目前大多数SCA应用都是基于Tuscany Java容器而非Tuscany C++容器的,Tuscany C++容器只提供了基于Axis2C的低效率的Web服务绑定(WSBinding)。为了解决低效率的通信问题,本文研究了如何扩展Tuscany C++的SCABinding实现基于TUXEDO通信协议的专用绑定(ATMIBinding)方案。在客户端实现基于ATMI的引用绑定(Reference Binding),使SCA 客户端访问TUXEDO服务;在服务端实现基于ATMI的服务绑定(Service Binding),使TUXEDO客户端访问SCA服务;在服务和客户两端同时实现ATMIBinding,就使得SCA 客户端以高效的TUXEDO协议访问SCA服务。通过相同环境下的对比实验表明,ATMIBinding的通信效率比WSBinding提高了150%。本文最后给出了一个在复杂银行系统中应用ATMIBinding和其他各种Binding的例子以证明该方案的可行性。

关键词: SCA, SOA, WS绑定, ATMI绑定, TUXEDO, Tuscany C++, Tuscany Java

Abstract:

SCA has won the widely attention because it addresses the critical issues of the standardization of components and service combination, but at present a majority of SCAs are based on the Tuscany Java application container rather than the Tuscany C++ containers. The Tuscany C++ container only provides a WSbinding based on Axis2c with low efficiency, this paper addresses how to extend the C++ SCA binding to develop a dedicated binding based on the TUXEDO communication protocols. Implementing the reference binding based on ATMI on the client side will enable the SCA client to access the TUXEDO service; Implementing the service binding based on ATMI on the server side will enable the Tuxedo client to access the SCA service;The SCA client can access the SCA service via an efficient Tuxedo protocol if ATMIbinding is implemented on both the client and the server sides. The performance of ATMIbinding increases over 150% under the same testing environment,compared to the WSbinding. A complex example of a banking system based on ATMIbinding and other bindings has been presented, which shows the feasibility of this solution.

Key words: SCA;SOA;WSbinding;ATMI binding;TUXEDO;Tuscany C++;Tuscany java