users@jersey.java.net

[Jersey] Re: Spring and Jersey 2.0

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Mon, 5 Aug 2013 11:30:26 +0200

Hi Robert,

There is a new jersey-spring module kindly contributed by Marko Asplund.
The module includes Jersey 2/Spring 3 integration. Marko also added
a new example [1].

It would be great if you can give the example a try and provide feedback.

Thanks,

~Jakub

[1]https://github.com/jersey/jersey/tree/master/examples/helloworld-spring

On Aug 5, 2013, at 12:27 AM, Robert DiFalco <robert.difalco_at_gmail.com> wrote:

> I'm not sure I understand the impact of Jersey 2.0 on Spring. Cannot they not coexist at all or do I just need to ensure that my Jersey resources and exception mappers are not Spring managed beans and not injected with Spring managed beans?
>
> I can live with the latter, but I don't want to work on migrating to 2.0 to find out it just plain wont work. I don't use Spring MVC at all. Just transactional, DI, and configuration stuff.
>
> Any examples out there of Spring and Jersey 2.0 in the same application? Thanks!
>
> R.