tree: 0de114f5608cb32a060807e9ffb065081578f784 [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.