<p>I've been doing some work with the JAX-RS reference implementation (Jersey).
I know of at least two other frameworks (Restlet &amp; Apache CXF).</p>

<p>My question is: Has anyone done some comparison between those frameworks and if so, which framework would you recommend and why?</p>

[{'answer_id': 80996, 'author': 'Peter Hilton', 'author_id': 2670, 'author_profile': 'https://Stackoverflow.com/users/2670', 'pm_score': 3, 'selected': False, 'text': '<p>My colleague mentions why we are using RESTeasy for our current project in <a href="http://www.lunatech-research.com/archives/2008/03/20/restful-web-sevices-resteasy-jax-rs" rel="noreferrer">RESTful web services in Java EE with RESTeasy (JAX-RS)</a>:</p>\n<blockquote>\n<p>Its reference implementation, Jersey, was not chosen because we had trouble integrating it well with EJB3 and Seam 2.0.</p>\n<p>We are using the RESTeasy implementation of JAX-RS, because we had no trouble integrating it with our EJBs and Seam. It also has sufficient documentation.</p>\n<p>There is another implementation from Apache, but I haven’t tried it because it uses an older version of JAX-RS.</p>\n<p>Finally there is yet another framework for RESTful web services for Java called Restlet but we did not favour it because at the time of this writing, it is using a custom architecture, even though proper JAX-RS support is in the works.</p>\n</blockquote>\n'}, {'answer_id': 81938, 'author': 'James Strachan', 'author_id': 2068211, 'author_profile': 'https://Stackoverflow.com/users/2068211', 'pm_score': 6, 'selected': True, 'text': '<p>FWIW we\'re using Jersey as its packed full of features (e.g. WADL, implicit views, XML/JSON/Atom support) has a large and vibrant developer community behind it and has great <a href="http://www.javakaffee.de/blog/2008/04/21/jersey-spring-integration-mostly-complete/" rel="noreferrer">spring integration</a>. </p>\n\n<p>If you use JBoss/SEAM you might find RESTeasy integrates a little better - but if you use Spring for Dependency Injection then Jersey seems the easiest, most popular, active and functional implementation.</p>\n'}, {'answer_id': 95457, 'author': 'Avi Flax', 'author_id': 7012, 'author_profile': 'https://Stackoverflow.com/users/7012', 'pm_score': 3, 'selected': False, 'text': "<p>My team and I use Restlet extensively, but not its JAX-RS features. I can tell you that I've been very impressed with the Restlet developers and community; they're very active, engaged, responsive, and committed to a stable, efficient, reliable, and effective framework. I'm sorry I can't directly address your primary interest but I thought you might find my experience with Restlet valuable.</p>\n"}, {'answer_id': 597233, 'author': 'StaxMan', 'author_id': 59501, 'author_profile': 'https://Stackoverflow.com/users/59501', 'pm_score': 3, 'selected': False, 'text': "<p>It seems like there are 4 decent JAX-RS implementations, so you are probably ok with any of them.\nFor what it's worth, I have found Jersey (1.0.2) really nice so far. My needs are quite modest, simple back-end service, take care of plumbing and so on. And that Jersey does quite nicely.</p>\n"}, {'answer_id': 1286535, 'author': 'Shimi Bandiel', 'author_id': 15100, 'author_profile': 'https://Stackoverflow.com/users/15100', 'pm_score': 3, 'selected': False, 'text': '<p>Found out that Apache Wink is very easy to work with, supports JAX-RS and has many features beyond the standard.</p>\n'}, {'answer_id': 1472648, 'author': 'Jerome Louvel', 'author_id': 116542, 'author_profile': 'https://Stackoverflow.com/users/116542', 'pm_score': 5, 'selected': False, 'text': '<p><a href="http://www.restlet.org" rel="noreferrer">Restlet</a> has an extensive list of extensions for Spring, WADL, XML, JSON as well and many more, including an extension for JAX-RS API.</p>\n\n<p>It is also the sole framework <a href="http://www.restlet.org/downloads/testing" rel="noreferrer">available in six consistent editions</a>:</p>\n\n<ul>\n<li>Java SE</li>\n<li>Java EE</li>\n<li>Google Web Toolkit</li>\n<li>Google AppEngine</li>\n<li>Android</li>\n<li>OSGi environments</li>\n</ul>\n\n<p>Its main benefits are:</p>\n\n<ul>\n<li>fully symmetric client and server API when JAX-RS was designed for server-side processing</li>\n<li>connectors for other protocols than HTTP (mapping to HTTP semantics) when JAX-RS is HTTP only</li>\n<li>much broader feature scope including full URI routing control via the Restlet API (but can integrate with Servlet if needed)</li>\n<li>full provision for NIO support</li>\n</ul>\n\n<p>The JAX-RS API can be a good choice if you are restricted to JCP approved APIs (then don\'t use Spring or any extension of the JAX-RS projects like Jersey and RESTeasy!), but otherwise Restlet is the most mature framework (initially released in 2005) and will give you, in its 2.0 version, all the benefits of annotations combined with a powerful and extensible class-oriented framework.</p>\n\n<p>For a longer <a href="http://restlet.com/products/restlet-framework/#features" rel="noreferrer">list of features, please check this page</a>.</p>\n\n<p>Best regards,\nJerome Louvel</p>\n\n<p>Restlet ~ Founder and Lead developer ~ <a href="http://www.restlet.org" rel="noreferrer">http://www.restlet.org</a></p>\n'}, {'answer_id': 18074451, 'author': 'Fabián Escalante', 'author_id': 2332011, 'author_profile': 'https://Stackoverflow.com/users/2332011', 'pm_score': 0, 'selected': False, 'text': "<p>I would use no framework. Just the one that comes with your applications server. If you use specifics of one framwork you'll lose portability and you'll be in the hell of what if the vendor of the app server includes a different version of your favourite framework. I'll stick to jax-ws.</p>\n"}]
['https://Stackoverflow.com/questions/80799', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/15100/']