tree: 6c89dd9ec04ab42603160d4b210e961466cf8f0f [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 6 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.