Why I use Spring MVC to create RESTful Web Services

I’m a pretty standard Java guy, so basically I have two options: JAX-RS and Spring MVC.

Header mapping



Injection even for a simple use case Injection, JAX-RS doesn’t work out of the box in Jersey 2.0 (the reference implementation).

Well, it is doable using a Binder.




Async support



JAX-RS 2.0 (part of Java EE 7), is supposed to support it but my tests result on all sort of errors………is no final yet



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s