Restlet has an extensive list of extensions for Spring, WADL, XML, JSON, and many others, including an extension for the JAX-RS API.
It is also the only structure available in six consecutive versions :
- Java SE
- Java EE
- Google Web Toolkit
- Google appengine
- Android
- OSGi environments
Its main advantages:
- fully symmetric client and server APIs when JAX-RS was designed for server processing
- for protocols other than HTTP (mapping to HTTP semantics) when JAX-RS is only HTTP
- a much wider range of possibilities, including full control of URI routing through the Restlet API (but can be integrated with Servlet if necessary)
- full NIO support
The JAX-RS API may be a good choice if you are limited to JCP-approved APIs (then do not use Spring or any extension of JAX-RS projects such as Jersey and RESTeasy!), But otherwise Restlet is the most mature structure (originally released in 2005) and will give you in version 2.0 all the benefits of annotations combined with a powerful and extensible class structure.
For a longer list of features, please check this page .
Regards, Jerome Louvel
Restlet ~ Founder and Lead Developer ~ http://www.restlet.org
Jerome Louvel Sep 24 '09 at 16:02 2009-09-24 16:02
source share