开发者

Using RESTful services with JAX-RS/CXF in Tomcat

开发者 https://www.devze.com 2023-01-20 14:01 出处:网络
I\'m interested in using Apache\'s JAX-RS implementation (CXF) in a Tomcat environment. The documentation is pretty clear and straig开发者_如何学编程ht forward about developing a RESTful service with

I'm interested in using Apache's JAX-RS implementation (CXF) in a Tomcat environment. The documentation is pretty clear and straig开发者_如何学编程ht 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?


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)


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

0

精彩评论

暂无评论...
验证码 换一张
取 消