Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring 3.0 REST implementation or Jersey?

I'm currently trying to figure out which implementation of JSR-311 I'm going to recommend further up the food chain. I've pretty much narrowed it down to two options - Spring 3.0 with it's native support for REST - or use Sun's own Jersey (Restlets might also be an option).

To me it doesn't seem to be much of a difference in the actual syntax, but there might be issues with performance that I haven't figured out yet.

The service is meant to replace some heavy-duty EJB's and make a RESTful Webservice instead. The load is expected to be rather high, up in the 100k users per day (max) range, but will be seriously load balanced.

Thanks for all your insights.

like image 329
hnilsen Avatar asked May 03 '10 19:05

hnilsen


1 Answers

Spring 3 is not an implementation of JSR-311. Maybe that's enough to answer it for you? If you want JAX-RS on Spring, you'd be using (most likely) Jersey as the provider anyway! I would think if you're already an EJB shop, having everyone learn the Spring MVC way of doing it may not be too useful, if EJB3 is the next step for you?

Here's an article! http://www.infoq.com/articles/springmvc_jsx-rs

like image 128
Affe Avatar answered Oct 19 '22 23:10

Affe