Automatically generated javascript jax-rs client

I want something to create for me Javascript service stubs based on JAX-RS annotations.

I found something in RESTEasy , but I can't get it to work when using RESTEasy configured on SpringMVC. It seems to work only if RESTEasy is configured as a servlet.

However, I would like JS code to be generated at build time, and not at run time.

Do you know any solution that can do this?

+6
source share
1 answer

Netbeans has a "RESTful JavaScript Client" wizard, inside the "Web Services", which generates an html page with all the necessary javascript. This may be a good place to start.

You will need a wadl describing your calm web services. You can try this to create this wadl file.

0
source

All Articles