The Sun BabelFish Blog

Don't panic !

Tuesday Mar 21, 2006

Restlets, the next thing after servlets?

I have been looking for a client side API for implementing the Atom Publication Protocol (APP). Since APP is based on REST principles it would be nice for there to be a good Java library that worked at the right level of abstraction.

Dave Johnson has recently written a book where he uses the apache commons httpclient library to implement APP. The code is available on blogapps.dev.java.net, in the chapter10/atomclient directory.

Last week I came across the Restlet library that is designed to work both for client tools as well as for servers, and is designed to replace the Servlet interface. Could this be even better? It is certainly taking the paradigm seriously and so does warrant a close look.

Feedback welcome, and I'll post my experiences.

Search

Recent Entries

Navigation

Referers