中国IT动力,最新最全的IT技术教程
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档 | 网通镜像
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 硬件维护 | 未整理篇 | 站长教程
ASP JS PHP工程 ASP.NET 网站建设 UML J2EESUN .NET VC VB VFP 网络维护 数据库 DB2 SQL2000 Oracle Mysql
服务器 Win2000 Office C DreamWeaver FireWorks Flash PhotoShop 上网宝典 CorelDraw 协议大全 网络安全 微软认证
硬件维护  CPU  主板  硬盘  内存  显卡  显示器  键盘鼠标  声卡音箱  打印机  机箱电源  BIOS  网卡  C#  Java  Delphi  vs.net2005
  当前位置:> 程序开发 > 编程语言 > Java > Java与XML
Web Services ... the Apache Way @ JDJ
作者:未知 时间:2005-08-10 18:49 出处:Java频道 责编:chinaitpower
              摘要:Web Services ... the Apache Way @ JDJ

The Apache Web Services Project is an umbrella project consisting of many projects. The scope of projects goes from SOAP implementations to a UDDI implementation to a host of WS-* implementation efforts. The developer community is a vibrant one, coming from a mixture of large companies, small companies, and independent consultants. The community is also global, with participants originating from the US, Europe and Asia.

In this article we briefly introduce some of the activity around the Apache Axis project, the flagship project of the Apache Web Services activities.

Axis
Apache Axis started with a total rewrite of the Apache SOAP implementation, which was the first SOAP 1.1 implementation. Apache Axis now has both Java and C++ incarnations. The Axis/Java product is a very mature product that is widely used by many vendors for SOAP enablement of their systems. In comparison, Axis/C++ is only about a year old but is rapidly gaining maturity, quality, and users. Axis/Java and Axis/C++ share a common base architecture, which at the time of its design (in 2001-02) was industry leading.

There is now a new effort, called Axis2, to redesign and totally reimplement both Axis/Java and Axis/C++ on a new architecture. Evolving from the now standard "handler chain" model that Axis1 pioneered, Axis2 is developing a more flexible pipeline architecture that can be managed and packaged in a more organized manner. This new design acknowledges the maturing of the Web services space ? in terms of new protocols such as WS-ReliableMessaging, WS-Security, and WS-Addressing that are built on top of the base SOAP system. At the time Axis1 was designed, while it was fully expected that other protocols such as WS-ReliableMessaging would be built on top of it, there was no proper extension architecture defined to enable clean composition of such layers. Thus, one of the key motivations for Axis2 is to provide a clean and simple environment like Apache Sandesha and Apache WSS4J to layer on top of.

Another driving force for Axis2 is the move away from RPC-oriented Web services towards more document-oriented, message style asynchronous service interactions. The Axis2 project is centered on a new representation for SOAP messages called AXIOM (AXIs Object Model), which is composed of two parts: a complete XML Infoset representation and a SOAP Infoset representation on top of that.

The XML Infoset representation provides a JDOM-like simple API but is built on a deferred model via a StAX-based (Streaming API for XML) pull parsing API. A key feature of AXIOM is that it allows you to stop building the XML tree and to just access the pull stream directly, enabling both maximum flexibility and maximum performance. This approach allows us to support multiple levels of abstraction for consuming and offering Web services: using plain AXIOM, using generated code and statically data-bound data types and so on.

At the time of Axis1's design, RPC-style, synchronous, request-response interactions were the order of the day for Web services. Today service interactions are much more message oriented and exploit many different message exchange patterns. The Axis2 engine architecture is careful to not build in any assumptions of request-response patterns to ensure that it can be used easily to support arbitrary message exchange patterns.

Conclusion
Axis2 is still in its infancy and many of the key decisions are still being hashed out. As we design the Axis2 core there are efforts underway to ensure that projects such as Apache Sandesha can be built on top of it without any difficulty. We welcome all contributions to this key project. We are working towards an informational milestone release soon to encourage the larger community to examine the progress so far and provide feedback on our approach.

References

  • Apache Web Services Project: http://ws.apache.org/
  • Apache Axis Project: http://ws.apache.org/axis/
  • Apache Axis2 Project: http://wiki.apache.org/ws/FrontPage/Axis2
  • Apache Sandesha Project: http://ws.apache.org/ws-fx/sandesha
  • Apache WSS4J Project: http://ws.apache.org/ws-fx/wss4j
  • 关闭本页
     
    首页 | 投资与合作 | 服务条款 | 隐私政策 | 收藏本站 | 设为首页 | 新用户注册 | 免责声明 | 使用帮助
    Copyright ©2005-2008 chinaitpower.com All rights reserved. www.chinaitpower.com 版权所有