users@jax-rs-spec.java.net

[jax-rs-spec users] Proxy-based client API

From: <willem.salembier_at_gmail.com>
Date: Sun, 16 Nov 2014 08:53:56 +0000 (UTC)

What is the status of standardizing a proxy-based client API in JAX-RS?
The current client API is rather low-level.

The main goal is to reuse the same JAX-RS annotations on an interface
client-side. The implementation creates a stub which a client can use
to call a restful resource. This model brings the same simplicity we
have on the serverside to the client.

All JAX-RS implementations have some kind of proxy-based extension
nowadays and it is also the core idea of frameworks like Square's
Retrofit and Netflix Feign.

Some references:
http://docs.jboss.org/resteasy/docs/1.0.1.GA/userguide/html/RESTEasy_Cl
ient_Framework.html

http://cxf.apache.org/docs/jax-rs-client-api.html#JAX-RSClientAPI-Proxy
-basedAPI


https://jersey.java.net/apidocs/2.9/jersey/org/glassfish/jersey/client/
proxy/package-summary.html

http://square.github.io/retrofit/

https://github.com/Netflix/feign

Best regards,
Willem Salembier