WebService学习笔记jaxws:endpoint与jaxws:server区别

通过spring 配置实现 webservice 的配置有两种,一种是jaxws:endpoint ,另外一种是jaxws:server 。


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

你可能感兴趣的:(webservice,web,service)