The application's Run properties must be set to run the RESTful web service. For the provided application, this task has been completed. For future reference, right-click the project node, select Properties, then select Run, and enter the Relative URL. For this example, you would enter /helloGreeting.
Right-click the project node, HelloWorld3, and select Deploy.
Right-click the project node, HelloWorld3, and select Run.
The Run property does not specify a particular name, so none is shown in the browser window when it displays. The browser window simply shows the message Hello.
Append a name to the URL in the web browser, so that the URL looks like this: http://localhost:8080/HelloWorld3/helloGreeting?name=your_name.
The message Hello and the name your_name display in the browser.