CXF说实现了JAX-WS2.0规范,那么在不借助于Spring的情况下怎么在tomcat下部署服务??我的意思是说在不引入Spring支持的情况下,直接通过WebService这样的标注,而不需要Spring配置文件(甚至jar),是否可以达到在Tomcat下部署Service的目地?
不过好象CXF是基于Spring的,所以依然要提供Spring的jar包,可能还要提供
<import resource="classpath:META-INF/cxf/cxf.xml" />
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
<import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
这样的Spring配置,但我想不提供
<jaxws:endpoint id="CollectiveServices"
implementor="demo.spring.HelloWorldImpl" address="/HelloWorld">
<jaxws:serviceFactory>
<ref bean="jaxWsServiceFactoryBean"/>
</jaxws:serviceFactory>
</jaxws:endpoint>
这样的配置总可以吧??因为CXF说是实现了JAX-WS2规范嘛。
不知道我这样想是否正确,??
分享到:
相关推荐
cxf+spring+tomcat 只是演示,一个helloWorld的例子
CXF+Spring+Tomcat发布WebService
详细描述了在Eclipse环境下,使用CXF开发并在Tomcat中部署Web服务的步骤及注意事项,均是具体实验后的总结,适合初学者参考
CXF+spring+struts实现WebService
cxf最少依赖jar包,在这里整理一下打个包,方便同学们下载不用一个一个去找
这个是cxf+spring发布webservice和restservice的服务端项目
将解压后 apache-cxf-2.6.1 文件夹 lib 文件夹中的 JAR 文件导入工程下 WebContent/WEB-INF/lib 中,或直接复制到相应文件夹下,刷新工程。
Spring+CXF+tomcat开发webservice,包含服务端和客户端,导入myeclipse就可以用。帮助大家搭建webservice框架,实现webservice功能。
webserivce.、cxf整合spring,用的是spring3和cxf3。欢迎大家下载尝试
最完整的的cxf与spring整合需要的jar文件
spring-4.1.5,apache-cxf-2.7.1简单例子
webService实现 cxf2.7.5 与 spring3.0集成 完整流程,内涵全部jar ,下载集合运行
CXF Spring Web Service 程序,希望对大家有用!!
cxf+spring实现webservice
用CXF做Websrevice所需要的依赖包,这些是官网下载的官方包,因为官网下载很慢
1.引入cxf和其他需要的jar包,(本资源里面已经在lib下了)。 2.web工程的web.xml中配置CXFServlet <!-- 设置Spring容器加载配置文件路径 --> <param-name>contextConfigLocation <param-value>classpath*:...
cxf3 + spring4,使用配置的方式发布webservice
NULL 博文链接:https://chilongxph.iteye.com/blog/510707
Java web service 入门示例,使用 JAX_WS API 开发,使用 CXF 发布,集成 Spring ,Spring orm 基于 JPA 开发 DAO, 并使用 Spring data jpa 简化 DAO 实现。
CXF2+Spring2.5开发WebService实例,需要导入jar包