Open the project javaeetutorial/jaxrs/JAXRSHelloWorld in NetBeans IDE.
Right-click the project node, JAXRSHelloWorld, and select Test RESTful Web Services.
Click the helloWorld service in the left pane.
The Get(text/html) method is selected by default. Click Test.
The response Hello World, displays in the lower pane, as shown in the following figure.