jsr339-experts@jax-rs-spec.java.net

[jsr339-experts] Re: Client framework

From: Marek Potociar <marek.potociar_at_oracle.com>
Date: Fri, 08 Apr 2011 15:26:18 +0200

On 04/06/2011 11:09 PM, Bill Burke wrote:
> i'd really like to start the ball rolling on this. I guess we'll be deriving from the Jersey low-level API?
>
Yes. Ideally I plan to send a first proposal (javadoced APIs) sometime next week.

> IMO, some thought on the Exception hierarchy should be mapped out here as well concurrently (JAX_RS_SPEC-48). Also, in
> resteasy we have an SPI for plugging in various HTTP libraries for the client API to run on top of (Apache HTTP Client
> 3.x, 4.x, java.net.URL) that maybe we should define within JAX-RS as well.

Good point. Can you share some pointers?

> Finally, my users are very fond of our proxy framework [1]. Basically it allows you to use the exact same JAX-RS
> annotations on the client side so that you can map method invocations into an HTTP request. In most cases you can
> re-use the same interface on both the client and server side.
>
> [1] http://docs.jboss.org/resteasy/docs/2.0.0.GA/userguide/html/RESTEasy_Client_Framework.html

Let me have a closer look. So far, my understanding was that this would fall into the category of high-level client API.
If I am correct, I'd like to probably keep it as a separate task.

Marek