Latest commit 8e6fc40 Jul 19, 2016 @petrbouda petrbouda Attempt to fix JERSEY-2506 and BDB 23854380.
- Added Servlet-specific request attribute bridge for web app deployments.

Change-Id: I090648bee0a7ec3434764283c2834bdca394d509

README.MD

Jersey Spring Integration Spring Helloworld WebApp Example

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

Contents

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

URI path Resource class HTTP methods
/jersey-hello JerseyResource GET
/spring-hello SpringRequestResource GET
/spring-singleton-hello SpringSingletonResource GET

Application is configured by using web.xml, which registers javax.ws.rs.core.Application descendant to get classes and singletons from it (see class MyApplication).

Running the Example

Run the example as follows:

mvn clean package jetty:run

This deploys current example using Jetty web server. Once deployed, the application is ready to serve the following resources: