`
jnn
  • 浏览: 283553 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

CXF 2.0 发布了

    博客分类:
  • ESB
阅读更多
虽然这篇帖子写得有的晚了,但是还是想把CXF 2.0 发布的消息告诉大家。

下面是转至 CXF dev maillist的发布信息。

The Apache Incubator CXF team is proud to announce the availability of
the 2.0 release!


Apache CXF is an open source services framework. CXF helps you build and
develop services using frontend programming APIs, like JAX-WS. These
services can speak a variety of protocols such as SOAP, XML/HTTP, RESTful
HTTP, or CORBA and work over a variety of transports such as HTTP, JMS
or JBI.

CXF includes a broad feature set, but it is primarily focused on the following
areas:

* Web Services Standards Support: CXF supports a variety of web service
   standards including SOAP, the Basic Profile, WSDL, WS-Addressing,
   WS-Policy, WS-ReliableMessaging, and WS-Security.

* Frontends: CXF supports a variety of "frontend" programming models. CXF
   provides a JAX-WS Compliant frontend. It also includes a "simple
   frontend" which allows creation of clients and endpoints without
   annotations. CXF supports both contract first development with WSDL and
   code first development starting from Java.

* Ease of use: CXF is designed to be intuitive and easy to use. There
   are simple APIs to quickly build code-first services, Maven plug-ins to
   make tooling integration easy, JAX-WS API support, Spring 2.0 XML support
   to make configuration a snap, and much more.

* Binary and Legacy Protocol Support: CXF has been designed to provide a
   pluggable architecture that supports not only XML but also non-XML type
   bindings, such as JSON and CORBA, in combination with any type of transport.


This release contains the following features:

* JAX-WS Compliant frontend - Apache CXF has now passed the standalone
   JAX-WS TCK.
* Java2WSDL and WSDL2Java tools and Maven plugin
* SOAP 1.1 & 1.2, XML and RESTful HTTP bindings
* JAXB 2.0 Databinding support
* WSDL 1.1 support
* WS-Addressing, WS-ReliableMessaging, WS-Security, and WS-Policy support
* MTOM attachment support
* HTTP, Servlet, JMS and Local Transports
* Simple POJO service frontend
* Javascript frontend
* JBI Service Engine. CXF services can be deployed into any JBI
   compliant container (ServiceMix or OpenESB)
* JCA 1.0 support, J2EE application can integrate with legacy
   application through JCA 1.0 support in CXF
* Spring Support
* JSON support with Jettison
* Many other bug fixes and feature enhancements


For more information see:
* Website: http://incubator.apache.org/cxf/
* Release Notes: http://incubator.apache.org/cxf/apache-cxf-20-incubating-release-notes.html
* Mailing lists: http://incubator.apache.org/cxf/mailing-lists.html


If you have feedback, questions or would like to get involved in the
CXF project please join the mailing lists and let us know your
thoughts.


The Apache Incubator CXF Team
http://incubator.apache.org/cxf
分享到:
评论
27 楼 江南白衣 2007-08-30  
太谢谢楼上了。
26 楼 jnn 2007-08-29  
CXF 有一个Bundle Jar 在 Maven repository 中。
具体地址是
http://people.apache.org/repo/m2-incubating-repository/org/apache/cxf/cxf-bundle/
25 楼 jnn 2007-08-09  
江南白衣 写道
希望cxf能尽快在repo.maven.org 弄一个真正给用户使用的repo,里面就包含一个发行的jar,然后pom文件里清晰描述lib下面的其他jar。

项目组内这个问题还好解决,自己私服范围搞定,但SpringSide3.0就比较麻烦了。
明白了楼上想要mvn repo 中提供的是all in one 的 cxf jar。再这里我想补充两点:
1 目前zip包中的all in one jar 并不是包含了CXF中的所有module,例如JBI和JCA integration jar都没有包含。
2 CXF之所以划分了这么多module就是给用户提供了一个可以动态配置功能的机制,你只需要包含几个module的jar就可以实现简单的Soap协议栈功能,如果想支持Jaxws或者WS*之类的标准,添加对应的jar就可以了。

江南白衣 , 如果你想要CXF发布all in one jar, 你可以到 cxf-user@incubator.apache.org 或者 cxf-dev@incubator.apache.org提出你详细的想法和建议,这样我们可以很快地把all in one jar 发布到 maven repo中
24 楼 江南白衣 2007-08-08  
希望cxf能尽快在repo.maven.org 弄一个真正给用户使用的repo,里面就包含一个发行的jar,然后pom文件里清晰描述lib下面的其他jar。

项目组内这个问题还好解决,自己私服范围搞定,但SpringSide3.0就比较麻烦了。
23 楼 maomaode 2007-08-08  
江南白衣:

我明白你的意思了,是的,通过maven,现在好像是只能这样工作。我们没有一个uber jar在maven里。
你需要通过         <dependency>...</dependency> 这样来引用cxf的模块,cxf的模块比较多,分得比较细,怎么说呢,有好有坏吧,我个人感觉是有的分的太细了。

另外一个建议的话,是直接下载发行的zip, 安装后使用, 里面有uber jar, 也有manifest jar, 而且还有很多sample, 可以参考


Enjoy!
22 楼 江南白衣 2007-08-07  
jnn 写道


Bin kit下载解压之后会看到相关的sample,在lib目录下有cxf-xx-incubator jar 以及其他第三方 jar


是啊,但人才会解压zip包,从lib里取得cxf--xx-incubator,再放进我的C:/Document and setting/my name/.m2/.....里面啊(我现在就是这么干的)

maven client没有这么智能啊,不会自己作上面的那串动作啊。而且,如果按上面apache-cxf目录里的pom.xml,会下载一大堆子模块的jar,如cxf-rt-xx.jar,cxf-tools-xx.jar等等,就是没有发行版里的那个完整的all in one jar,所以我才一直抱怨这个repo是给cxf开发者编译用的,不是给cxf使用者用的。

21 楼 maomaode 2007-08-07  
江南白衣,

关于maven-repo, 已经放到这个上面了 http://groups.google.com/group/cxf-zh

关于WS-AT, 好像还没有吧,我不是很确定;你可以把问题发到邮件组cxf-user AT incubator.apache.org ,这样会得到这方面更权威的答复。

或者到这里搜索历史邮件记录,看看能不能得到更多的信息
http://www.nabble.com/CXF-f16913.html

Enjoy!

20 楼 jnn 2007-08-07  

如果你要在Maven2中使用CXF, 只需要将下面的repository加到你的pom中,并且指定好你依赖的CXF jar就可以。
    <repository>
      <id>apache.incubating.releases</id>
      <name>Apache Incubating Release Distribution Repository</name>
      <url>http://people.apache.org/repo/m2-incubating-repository</url>
    </repository>


下面的连接仅供用户下载kit(src, bin)使用。
http://people.apache.org/repo/m2-incubating-repository/org/apache/cxf/apache-cxf/2.0-incubator/

Bin kit下载解压之后会看到相关的sample,在lib目录下有cxf-xx-incubator jar 以及其他第三方 jar
19 楼 江南白衣 2007-08-07  
谢谢maomaode回答。

release的repo我知道啊,但是
http://people.apache.org/repo/m2-incubating-repository/org/apache/cxf/apache-cxf/2.0-incubator/

但是里面都没有jar,只有一个21M的大zip啊,狂晕的。

麻烦你和开发团队沟通一下好么?它这个repo只是面向内部开发者,而不是面向使用者的。

另外,CXF还是没有WS-AT协议。而我们与.Net的交互又必须带事务。
18 楼 maomaode 2007-08-07  
这个是release的repo

http://people.apache.org/repo/m2-incubating-repository/org/apache/cxf/
17 楼 maomaode 2007-08-07  
江南白衣,

你可以在这里找到snapshots

http://people.apache.org/maven-snapshot-repository
16 楼 maomaode 2007-08-07  
江南白衣:

Metro, 确实对.net互操作做了很多工作,之前他们是有一个独立的项目来完成这个任务,相信你也应该知道。
但CXF对.net的互操作也不差,我们也做了很多工作, 因为IONA和微软是金牌合作伙伴,我们也很重视和.net的互操作, 我们的爱尔兰的工程师,前段时间就在微软,做互操作方面的工作.所以应该不需要担心和.net的互操作会有问题,只是我们没有把他单独做为一个独立的项目而已。

我本人对.net不是很熟悉,但是也简单的作了个应用,基本上没碰到太大问题。
Apache CXF Service with WCF client

另外我在Google建了一个Group, 可以将cxf的问题,也放到哪里来讨论
http://groups.google.com/group/cxf-zh

Enjoy!
15 楼 江南白衣 2007-08-06  
顺便问个问题,CXF的Maven jar 地址在哪里?

在people.apache.org 那个地址,是它自己编译用的,而不是发布用的。

http://people.apache.org/repo/m2-incubating-repository//org/apache/cxf/apache-cxf 里面只有zip,没有jar,搞得很郁闷。
14 楼 江南白衣 2007-08-06  
Feiing 写道
白衣指的应该是 SOA 的事务而非容器内事务


是的,我是指WS-AT 这样的Web Service事务协议,可以把.Net 和 Java两端的应用,放在一个事务里执行。

与.Net的交互,Sun的Metro在安全协议,可靠性传输协议,事务协议上都做的很好。
13 楼 Feiing 2007-08-05  
jnn 写道
江南白衣 写道
可惜不支持事务,在企业应用级上缺失了重要一环。
而Sun的Metro(又叫WSIT,Tango)对标准的支持,与.Net的交互都好一点。


CXF的实现重点是如何简化Web Sevices的开发,并提供将多种应用(POJO, JaxWS, js)发布为Web Services接口。
对于事务的支持,你可以选用Spring提供的的服务,CXF可以直接支持将Spring Bean 发布成为 Web Services。
对于标准的支持,目前CXF已经通过了Jaxws2.0的认证,同时我们也与.Net进行了很多交互性测试。



白衣指的应该是 SOA 的事务而非容器内事务
12 楼 jnn 2007-07-24  
江南白衣 写道
可惜不支持事务,在企业应用级上缺失了重要一环。
而Sun的Metro(又叫WSIT,Tango)对标准的支持,与.Net的交互都好一点。


CXF的实现重点是如何简化Web Sevices的开发,并提供将多种应用(POJO, JaxWS, js)发布为Web Services接口。
对于事务的支持,你可以选用Spring提供的的服务,CXF可以直接支持将Spring Bean 发布成为 Web Services。
对于标准的支持,目前CXF已经通过了Jaxws2.0的认证,同时我们也与.Net进行了很多交互性测试。

11 楼 jnn 2007-07-24  
你可以使用STP来简化开发,下面是STP的相关链接
Here is the wiki page describe how to setup stp :
http://wiki.eclipse.org/STP_Service_Creation_getting_started

Flash movie shows how to create and deploy a JAX-WS web service
http://download.eclipse.org/stp/documents/europa/stp_europa_servicecreation_jaxws.htm

BTW:
STP 的Web Services Runtime采用的是CXF。
10 楼 diggywang 2007-07-24  
要说开发方便,还是sun提供的工具好用。
9 楼 江南白衣 2007-07-15  
可惜不支持事务,在企业应用级上缺失了重要一环。
而Sun的Metro(又叫WSIT,Tango)对标准的支持,与.Net的交互都好一点。
8 楼 jnn 2007-07-15  
RefelctionServiceFactoryBean
https://svn.apache.org/repos/asf/incubator/cxf/trunk/rt/frontend/simple/src/main/java/org/apache/cxf/service/factory/ReflectionServiceFactoryBean.java

支持从WSDL以及Java class获取 ServiceModel
欲之详情请参见
我眼中的CXF 之 ServiceModel
http://willem.bokeland.com/blog/794/6089/2007/06/05/199825


相关推荐

Global site tag (gtag.js) - Google Analytics