O'Reilly logo

Java EE 7 Development with NetBeans 8 by David R. Heffelfinger

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Generating RESTful JavaScript clients for our RESTful web services

In the previous section, we saw how to generate Java clients for our RESTful web services. A common scenario is to develop RESTful web services in Java and RESTful web service clients in JavaScript running in the browser. Just as NetBeans can generate Java clients, it can also generate JavaScript clients for our RESTful web services.

To generate JavaScript clients for our RESTful web services, go to File | New in a web application project, select the Web Services category, and select the RESTful JavaScript Client file type:

Generating RESTful JavaScript clients for our RESTful web services

In the next step in the wizard, select Tablesorter UI from ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required