Deploying and Running the JAXRSHelloWorld Example
Before You Begin
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 /resources/helloWorld.
-
Right-click the project node, JAXRSHelloWorld,
and select Deploy.
-
Right-click the project node, JAXRSHelloWorld,
and select Run.
-
A browser opens and displays Hello World at
the URL http://localhost:8080/HelloWorld/resources/helloWorld.
The browser displays the text “Hello World”.