Jersey generates WADL for the application as a whole and for
individual resources:
http://wikis.sun.com/display/Jersey/WADL
It should be relatively straightforward to generate a JavaScript API
from the WADL.
Marc.
On Jan 21, 2009, at 12:06 PM, Gerard M. Davison wrote:
>
> Hi,
>
> I was listening to this[1] PDC2008 presentation on REST in WCF and
> noticed that that have a nice component that basically gives you a
> typed java script object with which to work with the given REST
> service.
>
> I remember that the JSON binding for JAX-WS supported this[2] but I
> can't find anything similar for JAX-RS. Is this something I have
> missed in google or is there something planned for the future?
>
> From my naive point of view it seems like this would make
> consumption of the services much easier particularly now that
> JavaScript editors are starting to get "Code Insight" like features
> so having typed object might be useful.
>
> Thanks,
>
> Gerard
>
>
>
> 1. http://mschnlnine.vo.llnwd.net/d1/pdc08/WMV-HQ/TL35.wmv
> 2. https://jax-ws-commons.dev.java.net/json/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
---
Marc Hadley <marc.hadley at sun.com>
CTO Office, Sun Microsystems.