Before you begin developing web services, you need to start your application server. If the IDE you are using is integrated with the application server, then you can proceed by right-clicking the server instance and selecting the Start option.

However, if you have installed the application server independent of the IDE, then you need to register an instance of that server and then start it. The following steps will help you register your server.

  1. Open the NetBeans interface.
  2. Click the Tools menu.
  3. Choose Server Manager.
  4. In the Server Manager dialog box, click the Add Server button.
  5. From the drop-down list in the Add Server Instance dialog box, select the server you want to add.
  6. Specify a name for the server in the Name text box and click the Next button.
  7. Specify the installation directory of the server in the Platform Location text box. You can also click the Browse button to identify the directory.
  8. Click the Register Local Default Domain radio button.
  9. Click the Next button.
  10. You can also add an administrator username and password, and click the Finish button.
  11. After you have registered the server, you need to start it.
  12. Expand the Servers node. The server you added is listed.
  13. Right-click the application server's node.
  14. Select Start.