Jersey w / Spring 3.0?

I see some using jersey w / Spring. With Spring 3.0, annotations are now available so that RESTful APIs are directly in the controller. Why should I use jersey w / Spring?

+6
spring jersey
source share
2 answers

Jersey pros:

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

EDIT

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

+4
source share

Spring 3 is backward compatible, so you can use a jersey.

What you get does not bind your application to the API.

0
source share

All Articles