Apache CXF

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(相关链接)
 
(未显示1个用户的16个中间版本)
第1行: 第1行:
 +
{{SeeWikipedia}}
 +
 
Apache CXF: An Open Source Service Framework
 
Apache CXF: An Open Source Service Framework
  
CXF SNAPSHOT 马上就要发布了
+
Apache CXF 是一个Service框架,他简化了Service的创建, CXF实现了[http://jcp.org/en/jsr/detail?id=224 JAX-WS2.0规范],并通过了JAX-WS2.0 TCK; CXF和Spring无缝集成;CXF支持多种传输协议(HTTP, JMS, [[CORBA]]等),支持多种Binding数据格式([[SOAP]],[[XML]],[[JSON]]等), 支持多种DataBinding数据类型(JAXB, Aegis) 。CXF基于Interceptor的架构,使得整个框架非常易于扩展。
  
 
首先目前CeltiXfire已经正式更名为CXF,预计本月底M1就要发布了。作为继承[[Celtix]]以及[[XFire]]两大开源项目的精华,CXF提供 JAX-WS的全面支持,并且提供了多种Binding以及Transport的支持,你可以采用WSDL first 或者 Code first 轻松实现WebService的发布和使用。
 
首先目前CeltiXfire已经正式更名为CXF,预计本月底M1就要发布了。作为继承[[Celtix]]以及[[XFire]]两大开源项目的精华,CXF提供 JAX-WS的全面支持,并且提供了多种Binding以及Transport的支持,你可以采用WSDL first 或者 Code first 轻松实现WebService的发布和使用。
 
感兴趣的朋友可以参考以下链接获取信息
 
感兴趣的朋友可以参考以下链接获取信息
  
Apache CXF 2.0 Documentation  - http://docs.huihoo.com/apache/cxf/2.0
+
[http://docs.huihoo.com/apache/cxf/2.0 Apache CXF 2.0 Documentation]
  
* CXF构架介绍 - http://cwiki.apache.org/CXF/architecture-guide.html
+
* [http://cwiki.apache.org/CXF/architecture-guide.html CXF构架介绍]
* 如何获取代码 - http://cwiki.apache.org/CXF/source-repository.html
+
* [http://cwiki.apache.org/CXF/source-repository.html 如何获取代码]
* 编译 - http://cwiki.apache.org/CXF/building.html
+
* [http://cwiki.apache.org/CXF/building.html 编译]
* 创建Eclipse工程 - http://cwiki.apache.org/CXF/setting-up-eclipse.html
+
* [http://cwiki.apache.org/CXF/setting-up-eclipse.html 创建Eclipse工程]
* 参与开发讨论 - http://cwiki.apache.org/CXF/mailing-lists.html
+
* [http://cwiki.apache.org/CXF/mailing-lists.html 参与开发讨论]
  
CeltiXfire已经正式被批准成为Apache的一个孵化项目
+
==新闻==
 +
<rss>http://mail-archives.apache.org/mod_mbox/cxf-dev/?format=atom|short|date|max=10</rss>
  
 
==Standards==
 
==Standards==
第50行: 第53行:
 
* Support for SCA withTuscany
 
* Support for SCA withTuscany
 
* Support for JBI with ServiceMix
 
* Support for JBI with ServiceMix
 +
* JavaScript
 +
可以用 [[JavaScript]] 实现 [http://docs.huihoo.com/apache/cxf/2.2.4/javascript.html Apache CXF 服务]。
  
 
==Code Generation==
 
==Code Generation==
第59行: 第64行:
 
* WSDL to service
 
* WSDL to service
 
==Install==
 
==Install==
  http://download.huihoo.com/middleware/esb-soa/apache-cxf/
+
  http://download.huihoo.com/apache/cxf/
  cxf-2.0-incubator-RC/samples/hello_world
+
  如: cxf-2.0-incubator-RC/samples/hello_world
 
  ant build
 
  ant build
 
  ant server
 
  ant server
第67行: 第72行:
 
  ant clean
 
  ant clean
 
  ant war
 
  ant war
  export CATALINA_HOME = /usr/local/apache-tomcat-5.5.17
+
  export CATALINA_HOME=/usr/local/apache-tomcat-5.5.17
 
  ant deploy -Dtomcat=true
 
  ant deploy -Dtomcat=true
 
  ant client-servlet -Dbase.url=http://localhost:8080
 
  ant client-servlet -Dbase.url=http://localhost:8080
 
  or  
 
  or  
 
  ant client-servlet -Dhost=localhost -Dport=8080  
 
  ant client-servlet -Dhost=localhost -Dport=8080  
 +
ant undeploy -Dtomcat=true
 
Running demo with HTTP GET, APACHE CXF support HTTP GET to invoke the service
 
Running demo with HTTP GET, APACHE CXF support HTTP GET to invoke the service
 
  ant client
 
  ant client
第77行: 第83行:
  
 
==相关链接==
 
==相关链接==
*http://cwiki.apache.org/CXF/
+
*http://cxf.apache.org/
 +
*[https://github.com/apache/cxf Apache CXF @ GitHub]
 
*http://wiki.apache.org/incubator/CeltiXfire  
 
*http://wiki.apache.org/incubator/CeltiXfire  
 
*http://wiki.apache.org/incubator/CeltiXfireProposal
 
*http://wiki.apache.org/incubator/CeltiXfireProposal
 +
*http://download.huihoo.com/apache/cxf/
 +
*http://docs.huihoo.com/apache/cxf/
 +
*[http://groups.google.com/group/cxf-zh 中文用户组]
 +
 +
[[category:OSGi]]
 +
[[category:SOA]]
 +
[[category:Apache]]
 +
[[category:REST]]

2020年9月27日 (日) 02:51的最后版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Apache CXF Thanks, Wikipedia.

Apache CXF: An Open Source Service Framework

Apache CXF 是一个Service框架,他简化了Service的创建, CXF实现了JAX-WS2.0规范,并通过了JAX-WS2.0 TCK; CXF和Spring无缝集成;CXF支持多种传输协议(HTTP, JMS, CORBA等),支持多种Binding数据格式(SOAPXMLJSON等), 支持多种DataBinding数据类型(JAXB, Aegis) 。CXF基于Interceptor的架构,使得整个框架非常易于扩展。

首先目前CeltiXfire已经正式更名为CXF,预计本月底M1就要发布了。作为继承Celtix以及XFire两大开源项目的精华,CXF提供 JAX-WS的全面支持,并且提供了多种Binding以及Transport的支持,你可以采用WSDL first 或者 Code first 轻松实现WebService的发布和使用。 感兴趣的朋友可以参考以下链接获取信息

Apache CXF 2.0 Documentation

目录

[编辑] 新闻

自http://mail-archives.apache.org/mod_mbox/cxf-dev/?format=atom加载RSS失败或RSS源被墙

[编辑] Standards

Support for Multiple Standards

  • JAX-WS, JAX-WSA, and JSR-181and 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

[编辑] Transports & Bindings

Multiple Network Protocols (Transports) and Message Formats (Bindings)

  • Built-in support for SOAP and XML over HTTP, JMS, and Jabber transports
  • StAX-based streaming XML
  • Extensible API to support additional bindings including CSV and fixed record length
  • Data bindings include JAXB 2.0, XML Beans, Castor, and JiBX

[编辑] Flexible Deployment

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

[编辑] Multiple Languages

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
  • JavaScript

可以用 JavaScript 实现 Apache CXF 服务

[编辑] Code Generation

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

[编辑] Install

http://download.huihoo.com/apache/cxf/
如: cxf-2.0-incubator-RC/samples/hello_world
ant build
ant server
ant client

Building and running the demo in a servlet container

ant clean
ant war
export CATALINA_HOME=/usr/local/apache-tomcat-5.5.17
ant deploy -Dtomcat=true
ant client-servlet -Dbase.url=http://localhost:8080
or 
ant client-servlet -Dhost=localhost -Dport=8080 
ant undeploy -Dtomcat=true

Running demo with HTTP GET, APACHE CXF support HTTP GET to invoke the service

ant client
ant client.get

[编辑] 相关链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱