Spring 4 vs Jersey for REST web services

前端 未结 2 1851
半阙折子戏
半阙折子戏 2020-12-12 09:48

We are planning to make a new application with spring 4.0.6 version. We use controller that can return \"XML\" or \"JSON\". In the previous project we have successfully imp

2条回答
  •  被撕碎了的回忆
    2020-12-12 10:13

    AFAIK Spring REST support is based on Spring MVC and its not JAX-RS implementation while Jersey has implemented JAX-RS specification. Those having Spring (Core, AOP or MVC) in their project chooses Spring ReST support over JAX-RS implementor.

    I recommend Jersey as its mature, implements JAX-RS and is easy to use.

提交回复
热议问题