在 Tomcat 中将 RESTful 服务与 JAX-RS/CXF 结合使用

发布于 2024-09-27 21:04:19 字数 243 浏览 1 评论 0原文

我对在 Tomcat 环境中使用 Apache 的 JAX-RS 实现 (CXF) 感兴趣。 文档对于使用 JAX-RS 开发 RESTful 服务非常清晰和直接/CXF。但是,我不确定如何在 Tomcat 环境的上下文中开发 JAX-RS 服务。

有谁知道为 Tomcat 开发 JAX-RS/CXF 服务的好教程吗?

I'm interested in using Apache's JAX-RS implementation (CXF) in a Tomcat environment. The documentation is pretty clear and straight forward about developing a RESTful service with JAX-RS/CXF. However, I'm not sure how to develop a JAX-RS service within the context of a Tomcat environment.

Does anyone know of a good tutorial on developing JAX-RS/CXF services for Tomcat?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

夏末 2024-10-04 21:04:19

不完全是教程,但是在 Tomcat 中开发 JAX-RS 并没有什么特别的(毕竟它是基于 servlet 规范,tomcat 支持):

http://cxf.apache.org/docs/jaxrs-services-configuration.html

(特别是在“在容器中配置 JAX-RS 服务”标题下没有弹簧)

Not exactly a tutorial, but there is nothing special in developing JAX-RS in Tomcat (after all it is based on the servlet specification, which tomcat supports):

http://cxf.apache.org/docs/jaxrs-services-configuration.html

(in particular under the heading Configuring JAX-RS services in container without Spring)

素染倾城色 2024-10-04 21:04:19

有一个教程如何在 tomcat 中使用 jax-rs/cxf 开发resful服务:
http://javajeedevelopment.blogspot.fr/2014/07 /restful-services-using-apache-cxf.html

There is a tutorial how to developing a resful services with jax-rs/cxf in tomcat:
http://javajeedevelopment.blogspot.fr/2014/07/restful-services-using-apache-cxf.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文