tree: 90b29a46fa6a01413e5ada19da8ce932394a2c07 [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.MD
examples/helloworld-pure-jax-rs/README.MD

Hello World Example

This example demonstrates Hello World example. JAX-RS resource returns the usual text Hello World!.

Contents

The mapping of the URI path space is presented in the following table:

URI pathResource classHTTP methodsNotes
/helloworldHelloWorldResourceGETReturns Hello World!

Running the Example

Run the example as follows:

mvn clean compile exec:java

This deploys the example using Grizzly container. You can access the application at: