有状态Web服务容器的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
构建开放式、可扩展的系统设计工具集成框架是实现分布式协作开发的关键技术之一。使用Web服务技术,将系统设计工具的功能模块以服务形式加入到集成框架中,可以很好地满足分布式协作应用的需求。因此,需要为整个集成框架提供一个可靠的服务运行时环境。
     现有Web服务容器在可扩展性,服务开发效率等方面存在不足,本文提出并构建了一个组件化的、可扩展的Web服务容器——RCSWSC,并在容器和服务之间使用PYTHON语言嵌入式技术引入动态语言模块,分离了容器的处理实现和服务的功能实现,可以大大提高服务的开发效率。通过为容器增加基于WSRF (Web Services Resource Framework)协议的资源状态管理模型,使容器支持有状态的Web服务,为分布式协作开发在流程恢复等方面提供底层支持。
     此外,文中还分析了SOAP协议单一的绑定形式对Web服务访问所带来的一系列问题,设计并实现了一种SOAP协议动态绑定框架,为SOAP消息传递提供动态的传输支持。并提出了基于用户满意度的SOAP请求分派算法,以提高系统的运行效率。
     实际应用表明,RCSWSC有效降低了容器和服务开发之间的耦合度,保证了服务开发的效率和服务运行的稳定性。
While building an open and scalable integration framework for system design tools is becoming one of the key technologies in the realization of distributed collaborative-development, using Web services technology and wrapping the modules of design tools as Web services can satisfy the requirements of distributed collaborative applications. Therefore, it is important to provide a reliable service runtime environment for the framework.
     Since the existing Web services containers have major problems in scalability and service development efficiency, a combinative and dynamic extended Web services container, RCSWSC, is proposed in this paper with a dynamic language module, which uses Python embedding technology to separate the implementation of container process and services function and obviously improves the development efficiency. The container can deploy the stateful Web services to provide basic support for process restore in the collaborative developments by adding a resource state management model based on WSRF (Web Services Resource Framework).
     Moreover, a series of problems is analyzed in this paper caused by single SOAP protocol binding, and a SOAP protocol dynamic binding framework is designed and implemented, which can support the dynamic transmission for SOAP message exchange. Besides, a SOAP dispatch algorithm on the basis of customer satisfaction is presented as well.
     The practical application reveals that RCSWSC can reduce the coupling between the container and services development, and promotes the efficiency of service development and stability of service operation.
引文
[1]The WS-Resource Framework. http://www.globus.org/wsrf/specs/ws-wsrf.pdf. 2004.3
    [2]gSOAP 2.7.11 User Guide. http://gsoap2.sourceforge.net/.2008.10.
    [3]Borja S. The Globus Toolkit 4 Programmer's Tutorial. http://gdp.globus.org/ GlobusToolkits 4-tutorial/singlehtml/progtutorial_0.1.html
    [4]刘诚忠,刘万涛,胡春明.基于SEDA架构的网络服务容器设计与实现.北京航空航天大学学报.2008,3,34(3).337.
    [5]胡建强,王怀民,贾焰,等.Web服务容器框架研究与实现.中国科协第二届优秀博士生学术年会论文集.269.
    [6]Eric Newcomer. Understanding Web Services XML, WSDL, SOAP, and UDDI. Addison Wesley, May 13,2002.
    [7]简斌,左荣国,闫光荣,等.基于SOA的中小制造企业应用集成系统研究.计算机工程,2007,33(5).243-245.
    [8]柴晓路,梁宇奇.Web Services技术、架构及应用.北京:电子工业出版社.2003.
    [9]IBM Corporation, Microsoft Corporation. Web Services Conceptual Architecture. http://www.microsoft.com/net/wsca.pdf
    [10]Hu Jianqiang, Zhou Bin, Jia Yan, et al. Research and Implementation of CORBA Web Services. Proceedings of COMWIM of 23rd.2004.
    [11]Extensible Markup Language (XML) 1.0 (Fourth Edition).W3C Recommendation 16 August 2006. http://www.w3.org/TR/REC-xml/#sec-intro
    [12]Simple Object Access Protocol (SOAP)1.1. W3C Note 08 May 2000. http:// www.w3c.org/TR/2000/NOTE-SOAP-20000508/
    [13]段智华.浅谈SOAP.http://www.ibm.com/developerworks/cn/xml/x-sisoap/inde x.html
    [14]易明,金海.基于WSRF的Web服务资源的设计.计算机工程.2006,12,32(23).263.
    [15]W3C. Web Services Addressing 1.0-core, W3C Recommendation. http:// www.w3.org/TR/2006/REC-ws-addr-core-20060509/.
    [16]吴建斌,吴家铸.Web Services的状态管理机制研究.计算机工程.2006,11,32(21).117.
    [17]Hamid Ben Malek, Jacques Durand. A SOAP Container Model for e-Business Messaging Requirements. Web Information Systems Engineering-WISE 2005, Volume 3806/2005.
    [18]杨泽凡,陈志斌.基于FTP协议的异步Web服务.湘潭大学自然科学学报.2004,12,26(4).43.
    [19]Apache Axis2/java.http://ws.apache.org/axis2/
    [20]Ai Ting, Wang Caixia, Xie Yong. Analysis of State Management in Web S ervices and Various Extensions. http://www.comp.nus.edu.sg/-wangxb/5505_fi nal_report_XieYong.pdf,2004.
    [21]Erich Gamma, Richard Helm, Ralph Johnson, et ol. Design Patterns:Elements of Reusable Object-Oriented software. Addison Wesley/Pearson.2004.
    [22]W3C. Hypertext Transfer Protocol--HTTP/1.1. http://www.w3.org/Protocols/ rfc2616/rfc2616.html
    [23]W3C. SOAP Messages with Attachments, W3C Note. http://www.w3.org/TR/ SOAP-attachments.html
    [24]蔡迎东,赵卓峰,房俊,等.一种基于消息的异步服务访问框架.微电子学与计算机,2006,23(9).20-25.
    [25]Giampaolo Rodola', Jay Loden, Li-Wen Hsu. Python FTP server library(pyftpdlib) tutorial. http://code.google.com/p/pyftpdlib/
    [26]买京京.Web服务器集群负载均衡技术研究.中北大学硕士学位论文.2008.
    [27]Crovella, Carter. Dynamic server selection in the Internet. Technical Report. Department of Computer Science, Bostor University,1995. http://cs-www.bu. edu/faculty/crovdla/paper.archive/hpcs95/paper.html
    [28]Colajanni, Yu, Cardellini. Dynamic load balancing in geographically distributed heterogeneous web servers. Proceedings of the 18th IEEE International Conference on Distributed Computing Systems(ICDCS'98).1998.295-302.
    [29]官荷卿,张文博,魏峻,等.一种应用敏感的Web服务请求调度策略.计算机学报.2006,7.29(7).1189-1198.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700