users@jersey.java.net

[Jersey] Spring framework support for Jersey 2

From: Marko Asplund <marko.asplund_at_gmail.com>
Date: Thu, 2 May 2013 13:42:31 +0300

Hi,

I've created a Spring integration module prototype for Jersey 2.
The module allows injecting Spring beans in JAX-RS resource classes
(running in Servlet 3.0 context).
There's also a sample web application for demonstrating the Spring
integration module.
I've tested the integration module and sample app with Tomcat 7 and it
seems to be working correctly.

I'd like to request feedback from Jersey developers on the design and
implementation approach.
I'm also interested in hearing whether the module could be included in
Jersey 2 in some form in the future or if it should be kept separate
from Jersey code base.

The integration module and sample app can be found on GitHub:
https://github.com/marko-asplund/jersey/tree/master/ext/jersey-spring
https://github.com/marko-asplund/jersey/tree/master/examples/helloworld-spring


thanks,

marko