users@glassfish.java.net

Re: Client Classes for the REST Interface

From: Nazrul Islam <nazrul.islam_at_oracle.com>
Date: Mon, 10 Oct 2011 13:50:51 -0700

Jason Lee wrote:
> One of the goals for the REST interface for GlassFish 4.0 is to create
> a set of client classes that will help hide as much as possible of the
> complexities of REST calls, payload processing, etc. To that end, in
> the past few days I have committed a fair amount of code that creates
> such a client, not only in Java, but Python as well (Ruby and maybe
> PHP are in the offing, time permitting). I've posted a couple of
> articles showing how to generate the clients and how to use them:
>
> http://blogs.steeplesoft.com/2011/10/glassfish-rest-interface-a-client-side-perspective/
>
> http://blogs.steeplesoft.com/2011/10/glassfish-rest-client-goes-to-the-flying-circus/
>
>
> Two warnings: my attempt at humor is in those blogs :P, and the
> code/usage under discussion is still in flux, so things may change
> some before the final release.
>
> I would appreciate any feedback anyone may have on any aspect of this. :)
>
This looks nice.

JAX-RS 2.0 (JSR 339) is talking about a client API. Have you looked at
that? Refer to
https://oracleus.wingateweb.com/published/oracleus2011/sessions/22800/STS-22800_1739780.pdf

-- 
Nazrul Islam   -   (408) 276-6468   -   Oracle