JSR 311 Followup

I blogged a little while ago about the proposed JSR 311, a REST API for Java. I’ve since tried to implement the annotations and processing described by the short example on Marc’s blog.

Now I’m not going to claim that what I’ve done is comprehensive or ‘production ready’, but it proves the point. The point it proves to me is that it’s possible to design small, simple APIs that dramatically simplify application programming (and is easily and cheaply implemented).

I’ve taken a quick look at Restlets and i’m impressed… but it’s a whole new application programming model. Does anyone really want that in JavaEE?

I’ll repeat myself. I think a simple API which can easily be added to JavaEE and which simplifes writing basic REST and HTTP/POX is a good approach. Lets let the more advanced bits be an area for innovation and competition for a little while longer.

Reminder: The contents of this blog reflect my personal opinions, not those of my employer.

Advertisement

2 Responses to “JSR 311 Followup”


  1. 1 Jérôme Louvel March 21, 2007 at 10:31 am

    Hi David,

    Thanks for having a look at the Restlet project. Actually, I am part of the JSR expert group and plan on supporting the annotations on top of Restlets.

    See some more details here:
    http://blog.noelios.com/2007/02/14/new-jsr-to-define-a-high-level-rest-api-for-java/

    Concerning JEE, the Restlet API was designed as an alternative to the Servlet API and to the HttpURLConnection class. Even though, it can easily work inside a Servlet container if needed or can reuse the HttpURLConnection class as one of the pluggable HTTP client connnectors. I don’t know yet if, one day, it will makes sense for the JCP to have it inside JEE. Maybe inside a new lighter set of APIs (ex: JWE for Java Web Edition)?

    Best regards,
    Jerome Louvel

    http://www.restlet.org


  1. 1 New JSR to define a high-level REST API for Java « Noelios Consulting Trackback on April 25, 2007 at 2:03 pm

Leave a Reply

Fill in your details below or click an icon to log in:

Gravatar
WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




About

I’m David Illsley, I’m a Software Engineer, currently working for Morgan Stanley in London. In the past I worked for IBM developing products in the WebSphere family, and before that I studied at Edinburgh University. I'm also a PMC member @TheASF, and outside the realms of technology, enjoy skulking around the dark corners of theatre...

Archives

c

Disclaimer

The postings on this site solely reflect the personal views of the author and do not necessarily represent the views, positions, strategies or opinions of my employer.

Twitter Updates

  • *aaah* Another long weekend. I could get used to this. #fb 3 days ago
  • @ajdaniel what is now crap? Have you played with the new built in dev tools? 6 days ago
  • Frustrating not to make it to either fosdem or monkigras this week... It's like 3 buses at once or something 6 days ago
  • Wow, Danish crematoria are are pretty, uh, matter of fact… #borgen 1 week ago
  • @sd_nicholas it's a hedge against changes as it predates the final spec. Unprefixed version I think is due soon. 2 weeks ago

Follow

Get every new post delivered to your Inbox.