---
title: "axis2初步"
author: "qingfeng825"
date: "2009-09-21T13:29:20Z"
tags: ["Apache", "REST", "Web", "WebService", "XML"]
slug: "axis2"
draft: false
lastmod: "2009-09-21T13:29:20Z"
id: 473247
url: "https://qingfeng825.iteye.com/blog/473247"
---

官方网站    [http://ws.apache.org/axis2/](http://ws.apache.org/axis2/)   

 

 axis2是 webservice 的核心引擎，它广泛的使用了soap stack重新设计、重写.

 axis2基于Apache AXIOM 建立，apache axiom 是一个新的更高效的XML对象模型的实现  
   
axis2出现的原因？  
 axis2新架构在2004年8月被提出来，axis2比axis1更灵活、高效、可配。  
 axis2不仅支持soap1.1、soap1.2,还支持广泛流行的REST style of Web services.同样的业务逻辑实现在可以提供WS-\*形式的接口的同时还可以提供REST/POX形式的接口。  
 axis2更高效、更模块化、更多的基本于XML，当前axis2设计为支持一些额外的模块用来扩展它的功能，例如，安全、可靠性。这些 Modules目前已经可用，包括以下几个方面：  
    WS-ReliableMessaging---Apache Sandesha2 支持  
    WS-Coordinationand and WS-AtmicTransaction ----Apache Kandula2支持  
    WS-Security ---Apache Rampart支持  
    WS\_Addressing--做为axis2核心模块

axis2新特性  
    1、速度：使用了它自己的object model和STAX（Streaming API for XML），提高了速度。  
    2、Low memory foot print：  
    3、axiom  
    4、Hot deplyment；热部署  
    5、Asynchronous Web services:异步的web service.  
    6、MEP Support  
    7、  
    、  
    、  
    、