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,如需转载请自行联系原作者
相关文章
|
2月前
|
Java API Apache
Apache CXF生成WebService的客户端
Apache CXF生成WebService的客户端
|
XML Java API
彻底了解|利用Apache CXF框架开发WebService
前言WebService是为了支持网络的机器间操作交互而设计用来开发分布式的交互操作的应用程序组件,通常被定义为一组模块化的API,他们可以通过网络进行调用,来执行远程系统的请求服务,而...
304 0
|
Apache
why I need register Apache CXF as servlet
why I need register Apache CXF as servlet
98 0
why I need register Apache CXF as servlet
|
JSON Java 测试技术
Java单元测试之 Apache CXF Restful
对于程序员是否有必要编写test case,何时编写依然存在很多争议,各种互斥的方法论(SE/AM/XP/TDD),以及不同的开发文化,但是可以确定是编写单元测试用例有助于提高编程能力。
778 0

热门文章

最新文章

推荐镜像

更多