tree: 482c05ca1d101139c81f35fa3415e1defd013583 [path history] [tgz]
  1. src/
  2. pom.xml
  3. README.MD
examples/helloworld-spring-annotations/README.MD

Jersey Spring Integration Spring Helloworld WebApp Example

This example demonstrates how to create simple Jersey application that utilises Spring 3 DI features based on Spring annotations, packaged into WAR file.

Contents

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

URI pathResource classHTTP methods
/spring-resourceSpringRequestResourceGET
/spring-resource/goodbyeSpringRequestResourceGET
/spring-resource/norwegian-goodbyeSpringRequestResourceGET

Running the Example

Run the example as follows:

mvn clean compile exec:java

This deploys the example using Grizzly container.