<< 常用旅游英语口语 | 首页 | MapReduce 编程模型在日志分析方面的应用 >>

java - Difference between Jax-ws, axis2, cxf - Stack Overflow

JDK1.6 已经绑定了JAX-WS的实现,webservice开发可以不需要任何第三方的jar依赖,特别是webservice客户端,通过wsimport工具或者手工编写客户端即可完成。

What is the difference between JAX-WS, axis2, cxf? All three can be used to create webservices in java.As of i know JAX-WS is a specification and axis2 and cxf are implementations. But Java 1.6 has implementation of JAx-WS if i am not wrong. So one can use java 1.6 to develop jax-ws web services without using axis2, cxf? Then what is the use of axis2, cxf?

 

The JAX-WS implementation built into the JDK really is just the basic soap stuff. If you need any of the more complex WS-* things like WS-Security, WS-RM, WS-Policy, etc..., you need to use one of the alternatives like CXF or Metro or Axis2. It can also depend on what you are trying to integrate with. For example, CXF has top notch Spring support as well as very good OSGi support.

CXF also has other things besides just JAX-WS. It has a compliant JAX-RS implementation as well and supports exposing services as both REST and SOAP very well. Has a W3C compliant SOAP/JMS implementation if that type of things is required. Basically, lots of stuff not available from the in-jdk JAX-WS impl.

Also see:

Difference between Apache CXF and Axis

 

阅读全文……

标签 : ,



发表评论 发送引用通报