users@jersey.java.net

Auto generate java script client side API

From: Gerard M. Davison <Gerard.Davison_at_oracle.com>
Date: Wed, 21 Jan 2009 17:06:34 +0000

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/