Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jersey w/ Spring 3.0?

Tags:

spring

jersey

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 w/ Spring?

like image 612
jr. Avatar asked Feb 02 '10 16:02

jr.


1 Answers

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

like image 91
dfa Avatar answered Oct 22 '22 20:10

dfa