首页 | 本学科首页   官方微博 | 高级检索  
     

动态模板驱动的高性能SOAP处理
引用本文:花磊,魏峻,牛春雷,郑浩然. 动态模板驱动的高性能SOAP处理[J]. 计算机学报, 2006, 29(7): 1145-1156
作者姓名:花磊  魏峻  牛春雷  郑浩然
作者单位:中国科学院软件研究所软件工程技术中心,北京,100080;中国科学院软件研究所软件工程技术中心,北京,100080;中国科学院软件研究所软件工程技术中心,北京,100080;中国科学院软件研究所软件工程技术中心,北京,100080
摘    要:通过实验分析了Java平台上SOAP处理的性能,发现XML数据与Java数据间的数据模型映射是影响SOAP处理、决定Web服务性能的关键因素.对此,提出了一种新的数据模型映射机制——动态提前绑定,通过在运行时动态产生驱动数据模型映射的模板来避免耗时的Java反射操作,并实现XML数据对象和Java数据对象间的快速映射.动态产生的数据映射模板由上下文无关文法定义,并通过带输出的下推自动机实现.将此技术应用于自主开发的高性能SOAP引擎——SOAPExpress,实验表明SOAPExpress的平均性能比Apache Axis 1.2提高100%以上.

关 键 词:面向服务体系结构  Web服务  性能  SOAP  数据模型映射  数据映射模板
收稿时间:2006-02-17
修稿时间:2006-04-19

High Performance SOAP Processing Based on Dynamic Template-Driven Mechanism
HUA Lei,WEI Jun,NIU Chun-Lei,ZHENG Hao-Ran. High Performance SOAP Processing Based on Dynamic Template-Driven Mechanism[J]. Chinese Journal of Computers, 2006, 29(7): 1145-1156
Authors:HUA Lei  WEI Jun  NIU Chun-Lei  ZHENG Hao-Ran
Affiliation:Technology Center of Software Engineering, Institute of Software, Chinese Academy of Sciences, Beijing 100080
Abstract:In this paper, the authors first analyze the performance of SOAP processing on Java platform, and identify that data model mapping between XML data and Java data is the main impact factor on performance. Therefore, the authors propose a new paradigm of data model mapping- "Dynamic Early Binding" which enables to improve SOAP processing by avoiding Java reflection operations and proactively generating processing codes. This dynamic early binding is realized by Data Mapping Template (DMT), which is specified by extended context free grammar and implemented by pushdown automaton with output. The DMTs are generated and compiled at runtime and drive the data mapping process with XML Pull Parsing. The authors illustrate the effectiveness by applying it into a high performance SOAP engine, SOAPExpress, and yielding over 100% speedups compared to Apache Axis 1. 2 in Sun Microsystems' benchmark-WS Test 1. 0.
Keywords:SOAP
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号