- January 29, 2010

We were expecting to release 2.0 RC1 next, but we had the opportunity to add some great new features since 2.0 M6 and still need to update an important Restlet extension. So we decided to have this intermediary Restlet 2.0 milestone 7 version, as well as a Restlet 1.1.8 version fixing a single bug.

To celebrate this new release, Manning is having the Restlet in Action book as their Deal of the Day for Jan 29, 2010. The deal is the ebook in early access for justĀ  $10, using code dotd0129!

Main changes

  • Asynchronous call handling is now available on both on the server-side and the client-side. The callback mechanism used was inspired from GWT and is fully consistent with our Restlet edition for GWT, ensuring a greater portability.
  • Replaced the default/internal HTTP connectors with new ones based on a more flexible design. They now support all advanced HTTP features such as persistent connections and pipelining on both client and server side. They are for now the only connectors, beside the GWT edition, supporting the new asynchronous handling capabilities of the Restlet API.
  • Requests and responses can now be aborted, useful to save bandwidth where undesired calls are handled.
  • Security realms now have a lifecycle allowing the initialization from a relational database, a file or a LDAP directory.
  • Component services are now extensible, allowing you to add your own to the chain.
  • The Simple, Jetty and Netty extensions were removed from the Java EE edition for size purpose. Download the Java SE edition of the Restlet Framework if you need them.
  • New Jackson extension added, offering a nice alternative to the existing XStream extension for JSON object serialization (based on Jettison).
  • Converters were added for all relevant Restlet extensions, allowing usage of high-level classes in annotated Restlet interfaces for example.
  • The WCF Data Services extension (previously called ADO.NET Data Services) is now also available in the Android edition.
  • GWT object serialization support, based on annotated Restlet interfaces was also added for the GWT edition, leveraging GWT’s deferred binding mechanism and GWT-RPC serialization format! See this related post for details.
  • Significantly improved the ability to generate dynamic client proxies from annotated Restlet interfaces, while giving them access to the underlying ClientResource instance via a ClientProxy interface automatically implemented, like for the GWT edition. Proxies for child or parent resource can also easily be obtained, reusing the current resource like a prototype resource!
  • The component XML configuration has been extended to support all existing properties and features available in the Java API.

Direct contributors

  • Ben R. Vesco
  • Bruno Harbulot
  • Carsten Lohmann
  • Cedric Hurst
  • David Fogel
  • Fabian Mandelbaum
  • Iestyn Evans
  • Jeff Ramsdale
  • John Logdson
  • Jonathan Hall
  • Laurent Rustuel
  • Remi Dewitte
  • Sanjay Acharya
  • Tal Liron
  • Taylor Cowan
  • Tim Peierls

Thanks to all others who helped us in various ways!

Additonal resources

Changes log:

Download links:

Maven repositories: is updated on the 1st and 15th of each month is updated daily with new artifacts (access reserved to subscribers)