`
zhangzuanqian
  • 浏览: 263161 次
  • 来自: ...
社区版块
存档分类
最新评论

CXF spring jaxws:endpoint jaxws:server 区别 与 关系

    博客分类:
  • java
 
阅读更多

通过spring 配置实现 webservice 的配置有两种,一种是jaxws:endpoint ,另外一种是jaxws:server 。百度上没查到相关区别,又由于本人没有跟代码,所以又google了一下,才找到:

First, they are all for the server side configuration. 
Second, jaxws:endpoint is coming from JAXWS API, and it is used to 
configure the org.apache.cxf.jaxws.EndpointImpl which extends 
javax.xml.ws.Endpoint. 
jaxws:server is for configuring the JaxWsServerFactoryBean, which is 
coming from the Xfire API.

 

 

For the user who has the Xfire using experience, I think they will 
prefer to use jaxws:server tag. 
For the JAXWS API fans, jaxws:endpoint will be they first choice. 
There are not much difference between the jaxws:endpoint and 
jaxws:server, since the EndpointImpl is a wrapper class for the 
JaxWsServerFactoryBean.

具体可查看:
http://cxf.547215.n5.nabble.com/jaxws-endpoint-vs-jaxws-server-td561406.html

分享到:
评论
1 楼 zhangxin007 2014-05-05  
   

相关推荐

Global site tag (gtag.js) - Google Analytics