Java Reference
In-Depth Information
Figure 12-20. New RESTful Java Client Dialog
Once you've run though the wizard, a RESTful Java client will be generated for the REST resource that you had
selected. If you would rather generate a JavaScript client, you can do that by performing the following steps:
3.
Right-click on a project directory or select “File” “New File” from the NetBeans File
menu to open the “New File” dialog.
4.
Select “Web Services” from the “Categories” select box, and then select “RESTful
JavaScript Client” from the “File Types” select box (Figure 12-21 ). After the dialog window
opens, select a folder into which the JavaScript client should be generated. Also specify
one or more projects for which you would like to have stubs generated. If you would rather
specify a WADL to generate stubs, choose that option and select the file instead.
 
Search WWH ::




Custom Search