users@jersey.java.net

Re: Relation to restlet?

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 22 Apr 2008 10:20:58 +0200

On Apr 22, 2008, at 7:49 AM, Lars Tackmann wrote:

> On Tue, Apr 22, 2008 at 7:45 AM, Hendy Irawan
> <hendy_at_rainbowpurple.com> wrote:
>> From the project descriptions Jersey seems to have much in common
>> with Restlet.
>>
>> Does it use Restlet?
>> Are there plans to combine the power of two forces together?
>
> Jersey is Sun's RI for the JAX-RS standard and is a s far as I know
> brand new and without any relation to RestLet

Correct.


> other than
> properly being inspired by it.

Inspiration has come from many sources :-) the commonality being to
try and make it easier to develop RESTful web services.

A very important goal of Jersey is to try and make things extensible
so people can experiment/play/innovate on top of it.


> New versions of RestLet actually
> implements the JAX-RS API
> (http://blog.noelios.com/2008/04/01/restlet-11-m3-released/)
> so if you have a existing RestLet app then you should be able to
> gradually convert it into a JAX-RS app.
>

There are currently 4 JAX-RS implementations, JBoss RestEasy and CXF
are the other two.

I suspect that it would be easy to integrate Jersey with Restlet, if
one wanted to combined Restlet with Jersey features. Writing a new
Jersey container is reasonably easy, the main work would be mapping
the Restlet request/response to the Jersey request/response.

Paul.

> --
> Yours sincerely
>
> Lars Tackmann
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>