tree: baceb8a7f6dbd099eaaf4375f9ccf33bf918c729 [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