Benson Margulies wrote:
Arul,

CXF has a 'front end' that allows you to run Javascript on the server in
Rhino. I believe that this should work fine for REST, but I'm not the REST
expert.

Java2js generates Client javascript. It does not generate REST clients, only
SOAP clients.

Does that clarify?

-benson


On Thu, Mar 20, 2008 at 1:29 PM, Arul Dhesiaseelan <[EMAIL PROTECTED]>
wrote:

Hi,

Currently CXF supports Java2JS for simple or JAX-WS front ends. Does CXF
support JAX-RS front end (REST->JavaScript) too?

Thanks!
Arul




______________________________________________________________________
MessageLabs scanned this email.
______________________________________________________________________
Thanks for the response.

Here is my scenario. I have a JAX-RS CXF service. I have a web application which consumes this service. Is it possible to generate the REST resources as JavaScript so that the web app can use it directly when doing a POST (ex: construct the resource object)?


Reply via email to