tree: 8050330a2f28e0ba4e96ee552c9a7f1207cffa88 [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.