users@jersey.java.net

Re: [Jersey] Integrating Jersey and Spring

From: Mahesh Venkat <mhvenkat_at_gmail.com>
Date: Wed, 13 Jan 2010 13:02:46 -0800

Hi Brad,

Is it possible to share this working code?
Also if you have an example of adding Spring interceptors that extend the
Jersey ContainerFilters and Jersey ResourceFilters it will be great!

In fact, in Spring 3.0 they are attempting do to take a similar approach to
integrate with Jersey.

We also have to some thing similar for Struts2 too. The Apache community
 is attempting to define yet another REST mechanism rather than integrating
Jersey with Struts2.


On Tue, Jan 12, 2010 at 5:48 AM, Paul Sandoz <Paul.Sandoz_at_sun.com> wrote:

>
> On Jan 10, 2010, at 4:56 PM, Brad Lee wrote:
>
>
>> Please disregard my post, I have located the source of the problem, and it
>> seems to have nothing to do with bad threads. The problem appears to be
>> Jersey library updates in the way URIs are handled; I made the mistake of
>> simultaneously writing the Spring MVC Controller while simultaneously
>> upgrading from 1.1.3-ea to 1.1.4.1. My Bad.
>>
>> To help anyone who wants to integrate spring webmvc and jersey, you can
>> easily extend ServletContainer and implement the Controller interface,
>> delegating the request to the parent's service method.
>>
>>
> OK. Feel free to share any code as required, or suggest if this is worth
> while to add to Jersey's Spring support.
>
> Thanks,
> Paul.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>


-- 
Regards
--Mahesh