The Java EE 6 Tutorial, Volume I

ProcedureTesting the HelloWorld3 Example

  1. Open the project javaeetutorial/jaxrs/HelloWorld3 in NetBeans IDE.

  2. Right-click the project node, HelloWorld3, and select Test RESTful Web Services.

  3. Click the helloGreeting service in the left pane.

  4. Enter a name in the name text field.

  5. The Get(text/html) method is selected by default. Click Test.

  6. The response Hello name, displays in the Response pane, under the Raw View tab.