There is a new JCP aiming to create a
Java (TM) API for RESTful Web Services
. The proposal was sumitted by Sun and is supported (among others by)
Jérôme Louvel
, creator of the
RESTlet Java framework
.
Pete Layey
:
- I hope they don’t screw it up (see JAX-WS).
Marc Hadley
: provides a code example of what he thinks the API might look like. Looks good from my point of view
Steve Loughran
:
- It seems to me the people who have a better idea of what to do are the Cocoon folk and Team Netkernel, not the WS projects. Yet I suspect it will be the latter is the most interested, because clearly REST is winning the battle for hearts and minds, at least outside the enterprise. The trouble is, work on WS too long and you get corrupted, you start thinking of methods and operations, not remote state.
Indeed, as we are building REST applications with Cocoon, adhering to or integrating this API is an interesting point to watch.
Stefan Tilkov
:
- First, we asked why he (Marc Hadley) feels a REST-specific JSR is needed, i.e. why Servlets and JSPs are not enough. We also questioned the spec’s wording about low-level APIs, and how one would go about developing RESTful web apps without a deep understanding of HTTP issues and design patterns. Marc replied that while the current APIs provide broad support for HTTP, they leave a lot of work to the developer that could be automated in a higher level API
Contains lots of other good references and quotes.

This article is a part of Lars Trieloff's weblog. If you like this article please subscribe to my
feed and get automatically notified of updates.