欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Apache CXF
小 (→相关链接) |
|||
(未显示2个用户的23个中间版本) | |||
第1行: | 第1行: | ||
− | + | {{SeeWikipedia}} | |
− | 首先目前CeltiXfire已经正式更名为CXF,预计本月底M1就要发布了。作为继承[[Celtix]]以及[[ | + | Apache CXF: An Open Source Service Framework |
+ | |||
+ | 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的发布和使用。 | ||
感兴趣的朋友可以参考以下链接获取信息 | 感兴趣的朋友可以参考以下链接获取信息 | ||
− | [ | + | [http://docs.huihoo.com/apache/cxf/2.0 Apache CXF 2.0 Documentation] |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | * [http://cwiki.apache.org/CXF/architecture-guide.html CXF构架介绍] | |
+ | * [http://cwiki.apache.org/CXF/source-repository.html 如何获取代码] | ||
+ | * [http://cwiki.apache.org/CXF/building.html 编译] | ||
+ | * [http://cwiki.apache.org/CXF/setting-up-eclipse.html 创建Eclipse工程] | ||
+ | * [http://cwiki.apache.org/CXF/mailing-lists.html 参与开发讨论] | ||
+ | |||
+ | ==新闻== | ||
+ | <rss>http://mail-archives.apache.org/mod_mbox/cxf-dev/?format=atom|short|date|max=10</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]] 实现 [http://docs.huihoo.com/apache/cxf/2.2.4/javascript.html 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 | ||
==相关链接== | ==相关链接== | ||
− | *http:// | + | *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上了解到此条目的英文信息 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数据格式(SOAP,XML,JSON等), 支持多种DataBinding数据类型(JAXB, Aegis) 。CXF基于Interceptor的架构,使得整个框架非常易于扩展。
首先目前CeltiXfire已经正式更名为CXF,预计本月底M1就要发布了。作为继承Celtix以及XFire两大开源项目的精华,CXF提供 JAX-WS的全面支持,并且提供了多种Binding以及Transport的支持,你可以采用WSDL first 或者 Code first 轻松实现WebService的发布和使用。 感兴趣的朋友可以参考以下链接获取信息
目录 |
[编辑] 新闻
自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