jump to navigation

Announcing Restlet in Action book August 24, 2009

Posted by Jerome Louvel in REST, Restlet, Restlet General.
8 comments

We are very happy to announce that we have agreed with Manning to publish a “Restlet in Action” book that will cover in depth the upcoming 2.0 version of the Restlet Framework.

Our goal is to have the book published in fall 2010. However, you will not have to wait so long to start reading it… You will be able to use Manning Early Access Program (MEAP) to get an online access to draft chapters as they are written. This will give you an opportunity to send us feed-back via an online forum.

Restlet in Action

Even better, you can download the green paper “Rethinking Web Development with REST and Restlet” that was published today on Manning’s site and that is based on the chapter 1. Here is also the expected table contents:

Part 1: Getting Started

  • 1. Rethinking web development
  • 2. Designing a RESTful web API
  • 3. Beginning a Restlet application
  • 4. Deploying a Restlet application on premises

Part 2: Getting Ready To Roll Out

  • 5. Producing and consuming Restlet representations
  • 6. Securing a Restlet application
  • 7. Documenting a RESTful web API
  • 8. Enhancing a Restlet application

Part 3: Further Usage Possibilities

  • 9. Deploying a Restlet application in the cloud
  • 10. Using Restlet in browsers and mobile devices
  • 11. Embracing the semantic Web
  • 12. Looking beyond this book

As always, we are looking forward to getting your feed-back on this project, what you expect from it, what you think about the green paper and the overall table of contents.

Update 1: The table of contents has been refreshed to match the latest manuscript version

Update 2: The book is now available in early access !

Part 1: Getting Started
1 Rethinking Web development
2 Designing your REST API
3 Creating your Restlet application
4 Deploying your Restlet application
Part 2: Getting Ready To Roll Out
5 Enhancing your Restlet application
6 Securing your Restlet application
7 Documenting your REST API
8 Embracing the Semantic Web
Part 3: Further Usage Possibilities
9 Using Restlet in the cloud with Google App Engine
10 Using Restlet in browsers with Google Web Toolkit
11 Using Restlet on mobile Android devices
12 Looking beyond this book

Restlet 2.0 M4 released August 6, 2009

Posted by Jerome Louvel in Restlet, Restlet Releases.
12 comments

After Restlet 1.2 M2 and 2.0 M3 releases that introduced major API changes for resources and security, we wanted to focus this new milestone on stability and on the automated support of Restlet editions.

Here is a summary of the main changes :

  • The packaging has been reworked to provide separate distributions for each edition that we support: Java SE, Java EE (with Servlet support), Google Web Toolkit, Google App Engine and Android. In addition, the porting of the main source code base to each edition is now fully automated, ensuring a constant synchronization in term of features and bug fixes. All extensions and API features aren’t (or can’t be) supported in all editions, but the API is consistent. As a side effect, the “org.restlet.gwt” package has been moved to the regular “org.restlet” one.
  • The ConverterService has been improved to automatically serialize POJOs into XML, JSON and other serialization formats such as regular Java serialization or long term bean persistence. We leverage XStream for automatic XML/JSON marshalling and unmarshalling. Note that the JAX-RS extension now also relies on this improved conversion service!
  • Content negotiation was rewritten to support all possible dimensions such as media type, language, character set or encoding.
  • A new FTP client connector was added in the “org.restlet.ext.net” extension, based on the JDK’s URLConnection class. It is limited and only support GET methods.
  • The RDF extension was improved with a new RdfClientResource class facilitating the navigation in the Web of Data.
  • A new ROME extension was added to support several versions of RSS and Atom syndication feeds formats. This extension is complementary with the existing Atom extension which is fully based on Restlet API.
  • Character sets support was enhanced, fixing an issue with Macintosh and adding new constants in the CharacterSet class for all common ones defined by IANA. Also, the default language used for representation is now dynamically retrieved based on the JVM setting instead of English/US.
  • Added client and server RIAP connectors that use a protected singleton unique in the JVM.
  • The org.restlet.Uniform abstract class has been refactored into an interface with a single handle(Request, Response) method. Its logic has been moved to the org.restlet.Client class. This allows us to leverage it for asynchronous calls, as we already do in the GWT edition.
  • The org.restlet.routing package has been enhanced with new Validator and Extractor filters containing logic found in the new deprecated Route class, replaced with a more specific TemplateRoute class. Those changes should be transparent for most applications using the Router class to attach Restlets and resources using URI templates.

Restlet

Direct contributors

  • Alexander Horn
  • Andrew Moore
  • Arjohn Kampman
  • Aron Roberts
  • Avi Flax
  • Bob Resendes
  • Bruce Cooper
  • Bruno Harbulot
  • David Fogel
  • Dustin N. Jenkins
  • Evgeny Shepelyuk
  • Florian Georg
  • Frank Hellwig
  • Gabriel Ciuloaica
  • Joe Nellis
  • John Logsdon
  • John Wismar
  • Jonathan Hall
  • Martin Krasser
  • Matt J. Watson
  • Maxence Bernard
  • Niall Gallagher
  • Nicolas Janicaud
  • Nirav Shah
  • Olivier Monaco
  • Remi Dewitte
  • Schley Andrew Kutz
  • Serge Ilyn
  • Simon Reinhardt
  • Stuart MacKay
  • Sylvain Pajaud
  • Thomas Cozien

Thanks to all others who helped us in various ways!

Additonal resources

Changes log:
http://www.restlet.org/documentation/2.0/jse/changes

Download links:
http://www.restlet.org/downloads/testing

Maven repositories:
http://maven.restlet.org is updated on the 1st and 15th of each month
http://maven.noelios.com is updated daily with new artifacts (access reserved to subscribers)

Follow

Get every new post delivered to your Inbox.