Thanks Dave. I also think it is good for REST and for Java.

I just want to make it very clear that this JSR will not standardize the
Restlet API or a similar API. We still plan to submit the Restlet API to the
JCP in 2008. It's purpose is to standardize a higher-level API as a set of
Java annotations. In my mind, that should address the mapping between the
resource-oriented paradigm (as supported by the Restlet API) and the
object-oriented paradigm (as expressed by Java domain classes). 

Right now, we have the Resource class that is the final controller in the
Restlet processing chain. This class doesn't constraint in any way how the
domain objects should look like or be provided: EJB, persistent POJOs, db4o,
Hibernate, JPA, JDO, direct JDBC/SQL calls, etc. This set of annotations
will facilitate the mapping between domain POJOs, Restlet Resources and URI
routing.

Best regards,
Jerome  

> -----Message d'origine-----
> De : Dave Pawson [mailto:[EMAIL PROTECTED] 
> Envoyé : mercredi 14 février 2007 10:50
> À : [email protected]
> Objet : Re: New JSR to define a high-level REST API for Java
> 
> On 14/02/07, Jerome Louvel <[EMAIL PROTECTED]> wrote:
> 
> > I'm happy to announce that the Restlet project will 
> contribute to the
> > elaboration of a high-level REST API for Java, as a set of Java 5
> > annotations.
> >
> > This effort, led by Sun Microsystems, will be complimentary 
> to the Restlet
> > API. The Noelios Restlet Engine, will support these new 
> annotations in a
> > future version.
> 
> Nice one Jerome!
> good to see your work accepted as a part of Java.
> 
> Good for REST too I think.
> 
> regards
> 
> -- 
> Dave Pawson
> XSLT XSL-FO FAQ.
> http://www.dpawson.co.uk

Reply via email to