Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Creating a JAX-RS Web Service"

Line 20: Line 20:
  
 
[[Image:Snap9.jpg]]
 
[[Image:Snap9.jpg]]
 +
 +
Start the server and add the JAXRS project, enter the following URL in the browser to test the JAX-RS Web Service: http://localhost:8080/JAXRS/jaxrs/addresses
 +
 +
[[Image:Snap11.jpg]]

Revision as of 21:09, 29 April 2010

File:ApacheWinkJAXRSLibrary.zip

Snap5.jpg

Snap1.jpg

Snap2.jpg

File:JAXRS.zip

Snap4.jpg

Snap6.jpg

Snap7.jpg

Define the Initialization parameter name/value as javax.ws.rs.Application/com.test.AddressBookApplication like below.

File:Snap8.jpg

Snap9.jpg

Start the server and add the JAXRS project, enter the following URL in the browser to test the JAX-RS Web Service: http://localhost:8080/JAXRS/jaxrs/addresses

Snap11.jpg

Back to the top