jax-ws vs axis2 - help needed

限于喜欢 提交于 2019-12-14 02:26:11

问题


I need help with the following :

Q.1) Performance comparison between - 1) lot of war files containing jax-ws based web services deployed on Jetty 2) lot of web services deployed on axis2 running on Jetty

Q.2) Also, if there are many types of clients, like .net, java, c++ based, which are gonna use these web services then which approach should I go with - axis2 as SOAP engine or jax-ws??

Q.3) if I am not interested in WS-* standards then what should I use axis2 or jax-ws?

Q.4) In general why are SOAP engines required?? only for WS-* standard support or do they have more benefits to them???


回答1:


Java API for XML Web Services (JAX-WS) is just an API.

You need to use a SOAP stack implementation (SOAP engine).

There are 2 major implementations:

  • Axis2
  • Metro

Since Metro provides the Reference Implementations and is shipped with JDK, I assumed you have been calling jax-ws to the RI. But metro is a full SOAP Stack implementation.

Now you that you now the names, and the places, you can start your quest for your favorite implementation. Both have pros and cons. Keep in mind that both provide you the WS-* standards support, and since SOAP is "programing language independent" doesn't matter the client types.

I personalty prefer Metro, since it is much more easer to use.



来源:https://stackoverflow.com/questions/11995786/jax-ws-vs-axis2-help-needed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!