Bistro!
Alexis Moussine-Pouchkine's Weblog
public enum Topic { Java, GlassFish, Tools, Sun, InFrenchInZeText, SDPY }

20070419 jeudi avril 19, 2007

Is Restlets the new Hibernate?

Jérôme Louvel has released Restlets 1.0. Congratulations to him and the team! Any 1.0 version is always something very special.

In this InfoQ interview, Jérôme is drawing a parallel between JPA and the new "Rest" JSR 311 (of which he's an expert member). Of course he would like for his Restlets implementation to be the main inspiration for the expert group just like Hibernate seems to have been for JPA. So Jérôme is not just a good developer and architect, he's also sounds like a good marketeer :)

In other comments on the article, I wish InfoQ's Stefan Tilkov would add GlassFish's JAX-WS to the mix when comparing Restlets to SOAP stacks. While the answer from Jérôme would likely be the same ("it's not really REST"), JAX-WS has Dispatch/Provider APIs to work at the lower messaging layer to implement any protocol including RESTful web services.

The other interesting part is the use of GlassFish Grizzly's technology in the Restlet framework as well as the use of the dual CDDL/GPLv2 licensing model which happens to be the exact same as what GlassFish uses... All this and the future promised WAR packaging could make Noelios (the company behind Restlets) a good GlassFish partner.

On a personal note, having only been thru the basic Restlet samples, I can claim that what I like best about the framework is its website. Clean and simple.

( avr. 19 2007, 06:56:00 AM CEST ) Permalink Comments [4]

20070215 jeudi février 15, 2007

JSR 311 - Quick follow-up thoughts

- You can do RESTful applications today with Java, only APIs like Servlets or the dynamic part of the JAX-WS APIs aren't the most natural approach (of course you can also simply use the Apache HTTPClient or java.io.HttpURLConnection classes, but Java developers deserve better than that).

- The target is J2SE 5.0 or higher and Java EE 5 or higher. Maybe Java ME. And the draft/early/out-of-the-blue roadmap mentions a final release in 2008 (so not related to Java SE 7 or Java EE 6).

- The Reference Implementation source code for this JSR will be made available under the same terms as Project GlassFish (this is the Specification Leader's responsability).

- RESTafarian Jerome Louvel of Restlets fame is part of the Expert Group.

- Marc Hadley (Spec Leader and WADL creator), Henry Story, Eliotte Rusty Harold, Dave Johnson, Tim Bray and others are all picking up the news and voicing someconcerns. The Expert Group is still recruiting. Hop on guys!

( févr. 15 2007, 10:23:06 AM CET ) Permalink

20070214 mercredi février 14, 2007

javax.ws.rest

What if we took the best of servlets and JAX-WS and made RESTful Web Services a first class Java citizen? Welcome to JSR 311.


( févr. 14 2007, 02:55:54 PM CET ) Permalink Comments [1]


Join us at CommunityOne
ALT DESCR
Tags
Links