Apache CXF 介绍

Apache CXF 介绍
 
Apache CXF 是一个开源的项目,前身是XFire与Celtix结合的产物,它是一个高性能的WebService,同时还支持多种绑定。
 
CXF比较适合创建各种不同传输协议的服务。一般的服务总线是以集成各种服务为目的,CXF相反,它是以提供各种服务为目的的。
 
与Apache Axis2相比,CXF全都是有优点了。这里就不说了,很多这类对比的文章。
 
CXF所支持的主要功能如下:
支持多种绑定方式:SOAP、REST、Corba
支持的Web服务包括:WS-Addressing、WS-Security、WS-ReliableMessaging和WS-Policy
支持多种传输协议
可插拔式的数据绑定
前端核心程序的清晰分离
高性能
 
CXF的架构体系主要包括下面部分:
CXF总线
消息和拦截器
前端,通过JAX-WS创建服务,可以从不同的源头(Java类、WSDL1.1/2.0)来创建服务
传输层
服务模型(在CXF内代表服务)
绑定
 
有关更详细的介绍可以参看CXF的官方主页 http://cxf.apache.org/
 
 
---------------------------------------------------
来自官方的介绍:

General

  • High Performance
  • Extensible
  • Intuitive & Easy to Use

Support for Standards

  • JAX-WS, JAX-WSA, JSR-181, and SAAJ
  • SOAP 1.1, 1.2, WS-I BasicProfile, WS-Security, WS-Addressing, WS-RM and WS-Policy
  • WSDL 1.1 and 2.0
  • MTOM

Multiple Transports, Bindings, Data Bindings, and Formats

  • Bindings: SOAP, REST/HTTP
  • Data bindings: JAXB 2.0, Aegis, XMLBeans. (Castor and JiBX will be supported in a later version of CXF)
  • Formats: XML, JSON
  • Transports: HTTP, Servlet, JMS, and Jabber transports
  • Extensibility API allows additional bindings for CXF, enabling additional message format support such as CSV and fixed record length

Flexible Deployment

  • Lightweight containers: deploy services in Tomcat or Spring-based containers
  • JBI integration: deploy as a service engine in a JBI container such as ServiceMix, OpenESB or Petals
  • SCA integration: deploy in an SCA container such as Tuscany
  • J2EE integration: deploy services in J2EE application servers such as Geronimo, JOnAS, JBoss, WebLogic, and WebSphere
  • Standalone Java client/server

Support for Multiple Programming Languages

  • Full support for JAX-WS 2.0 client/server programming model
  • JAX-WS 2.0 synchronous, asynchronous and one-way API's
  • JAX-WS 2.0 Dynamic Invocation Interface (DII) API
  • Support for wrapped and non-wrapped styles
  • XML messaging API
  • Support for JavaScript and ECMAScript 4 XML (E4X) - both client and server
  • Support for CORBA with Yoko
  • Support for SCA withTuscany
  • Support for JBI with ServiceMix

Code Generation

  • Java to WSDL
  • WSDL to Java
  • XSD to WSDL
  • WSDL to XML
  • WSDL to SOAP
  • WSDL to service
 

本文转自 leizhimin 51CTO博客,原文链接:http://blog.51cto.com/lavasoft/165928,如需转载请自行联系原作者
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值