users@jersey.java.net

Re: [Jersey] State Client / HATEOAS proposal

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 07 Oct 2009 10:29:53 +0200

On Oct 6, 2009, at 2:30 PM, gerard davison wrote:

>
> A few weeks ago Paul S was kind enough to post the following
> proposal of mine in a thread about clients that use dynamic proxies
> to give a static programming interface:
>
> http://kingsfleet.blogspot.com/2009/09/javalangreflectproxy-client-based-on.html
>
> I have since revised this proposal a bit with a few simplification
> that should make it work on the server side also:
>
> http://kingsfleet.blogspot.com/2009/10/proxy-client-based-on-jersey-with-bit.html
>
> I would be interested in any feedback. I plan to be thinking next on
> how to annotation a XML Schema so that a generator could generate
> the correct interfaces.

How can the XSD be used to derive the resource interfaces? are you
referring to generating interfaces from WADL and also utilizing any
XSD that the WADL refers to?

It would be great to have a working prototype to experiment with :-)

Paul.

> I know that many prefer the fluent API, me included on some days,
> but certain classes of users a static client has advantages.
>
> Cheers,
>
> Gerard
>
> --
> Gerard Davison | Senior Principal Software Engineer | +44 118 924 5095
> Oracle JDeveloper Web Service Tooling Development
> Oracle Corporation UK Ltd is a company incorporated in England &
> Wales.
> Company Reg. No. 1782505.
> Reg. office: Oracle Parkway, Thames Valley Park, Reading RG6 1RA.
>
> Blog http://kingsfleet.blogspot.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>