Jersey w/ Spring 3.0?

前端 未结 2 632
谎友^
谎友^ 2021-01-12 14:45

I see some are using Jersey w/ Spring. With Spring 3.0 there are now annotations available to make RESTful APIs directly in a controller. Why should I consider using Jersey

2条回答
  •  长情又很酷
    2021-01-12 15:47

    Jersey pros:

    • comes with specifications JSR 311
    • reference implementation for JSR 311
    • Restlet and RESTeasy are other implementations for JSR 311
    • better tooling (at least on Netbeans)
    • it is integrated with Spring and Guice

    EDIT

    A (very nice) Comparison of Spring MVC and JAX-RS

提交回复
热议问题