How to deploy a JAX-RS application?

前端 未结 4 663
没有蜡笔的小新
没有蜡笔的小新 2020-11-29 19:16

The JAX-RS 1.1 specification says on page 6:

If no Application subclass is present the added servlet MUST be named:

javax.ws.rs.core         


        
4条回答
  •  情话喂你
    2020-11-29 19:39

    As I said in the comment above, it all depends on the framework you want to use.

    http://syrupsucker.blogspot.com/2008/10/deploying-jersey-in-tomcat-60.html for Jersey http://syrupsucker.blogspot.com/2008/10/deploying-resteasy-in-tomcat-60.html for RESTeasy

    As far as I know, JAX-RS does not contain a specification for deployment.

提交回复
热议问题