tree: 6919ce3a779b4f4f7999b0536752695723175830 [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.MD
examples/json-moxy/README.MD

MOXy JAX-RS JSON Provider Example

This example demonstrates how to produce/consume JSON representations from Java objects.

Contents

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

URI pathResource classHTTP method
/testJsonResourceGET
/testJsonResourcePOST

(See JsonResourceTest for more details.)

Running the Example

Run the example as follows:

mvn clean compile exec:java

This deploys the example using Grizzly

A WADL description may be accessed at the URL:

The resource is available at