Generating a RESTful Web Service

See Also 

You can use NetBeans IDE to create a RESTful web service in a Java Web application. You can use the IDE to create either an "empty" service based on a pattern (singleton or item/container) or a service configured to communicate with an existing database. In addition, you can expose any suitable Java class as a RESTful web service by appending it appropriately.

To generate a RESTful web service:

  1. Create a web application project.
  2. In the Projects window or Files window, right-click the web application project node and choose New. Then choose one of the following:

    Alternatively, you can choose the above templates by right-clicking the project node, choosing New > Other and then selecting them from the Web Services category.

  3. Click Next and complete the wizard.
See Also
About Web Services
Using the Preregistered RESTful Web Service Components
Generating RESTful Web Service Client Stubs
Testing a RESTful Web Service

Legal Notices