Java開源Web服務框架 Apache CXF 2.5.0 發布

fmms 13年前發布 | 21K 次閱讀 Java

Apache CXF一個開源的Service框架,它實現了JCP與Web Service中一些重要標準。CXF簡化了構造,集成,面 向服務架構(SOA)業務組件與技術的靈活復用。在CXF中,Service使用WSDL標準定義并能夠使用各種不同的消息 格式(或binding)和網絡協議(transports)包括SOAP、XML(通過HTTP或JMS)進行訪問。CXF同樣支持多種model 如:JAX-WS,JBI,SCA和CORBA service。CXF設計成可靈活部署到各種容器中包括Spring-based,JBI,SCA, Servlet和J2EE容器。

General

  • High Performance
  • Extensible
  • Intuitive & Easy to Use

Support for Standards

JSR Support
  • JAX-WS - Java API for XML-Based Web Services (JAX-WS) 2.0 - JSR-224
  • Web Services Metadata for the Java Platform - JSR-181
  • JAX-RS - The Java API for RESTful Web Services - JSR-311
  • SAAJ - SOAP with Attachments API for Java (SAAJ) - JSR-67
WS-* and related Specifications Support
  • Basic support: WS-I Basic Profile 1.1
  • Quality of Service: WS-Reliable Messaging
  • Metadata: WS-Policy, WSDL 1.1 - Web Service Definition Language
  • Communication Security: WS-Security, WS-SecurityPolicy, WS-SecureConversation, WS-Trust (partial support)
  • Messaging Support: WS-Addressing, SOAP 1.1, SOAP 1.2, Message Transmission Optimization Mechanism (MTOM)

Multiple Transports, Protocol Bindings, Data Bindings, and Formats

  • Transports: HTTP, Servlet, JMS, In-VM and many others via the Camel transport for CXF such as SMTP/POP3, TCP and Jabber
  • Protocol Bindings: SOAP, REST/HTTP, pure XML
  • Data bindings: JAXB 2.x, Aegis, Apache XMLBeans, Service Data Objects (SDO), JiBX
  • Formats: XML Textual, JSON, FastInfoset
  • Extensibility API allows additional bindings for CXF, enabling additional message format support such as CORBA/IIOP

Flexible Deployment

  • Lightweight containers: deploy services in Jetty, Tomcat or Spring-based containers
  • JBI integration: deploy as a service engine in a JBI container such as ServiceMix, OpenESB or Petals
  • Java EE integration: deploy services in Java EE application servers such as Apache Geronimo, JOnAS, Redhat JBoss, OC4J, Oracle WebLogic, and IBM WebSphere
  • Standalone Java client/server

Support for Multiple Programming Languages

  • Full support for JAX-WS 2.x client/server programming model
  • JAX-WS 2.x synchronous, asynchronous and one-way API's
  • JAX-WS 2.x Dynamic Invocation Interface (DII) API
  • JAX-RS for RESTful clients
  • 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
  • Support for JBI with ServiceMix

Tooling

  • Generating Code: WSDL to Java, WSDL to JavaScript, Java to JavaScript
  • Generating WSDL: Java to WSDL, XSD to WSDL, IDL to WSDL, WSDL to XML
  • Adding Endpoints: WSDL to SOAP, WSDL to CORBA, WSDL to service
  • Generating Support Files: WSDL to IDL
  • Validating Files: WSDL Validation

Apache CXF 2.5.0 發布了,該版本主要改進包括:

  • 全新的安全令牌服務
  • 新的 WS-Notification 服務
  • JAX-RS 服務中引入對 OAuth 的初始支持
  • 支持 WS-MetadataExchange
  • 增強 WS-RM 互操作能力
  • 增強 OSGi 和 Karaf 集成

項目地址:http://cxf.apache.org/

 本文由用戶 fmms 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!