users@jersey.java.net

Re: [Jersey] Re: Atmosphere Spade Server in OSGi

From: Vlatko Davidovski <vdavidovski_at_gmail.com>
Date: Wed, 30 Sep 2009 14:13:11 +0200

Thanks guys for looking into this!
Vlatko

On Sep 30, 2009, at 11:07 AM, Paul Sandoz wrote:

>
> On Sep 30, 2009, at 4:21 AM, Jeanfrancois Arcand wrote:
>
>> Salut,
>>
>> Paul Sandoz wrote:
>>> On Sep 28, 2009, at 11:29 PM, Vlatko Davidovski wrote:
>>>> Thanks for your feedback Paul! Could you be more specific in the
>>>> steps to be taken.
>>> First, I think it is going to require some changes to the
>>> Atmosphere spade server to ensure better programatic configuration
>>> of Jersey:
>>> - The spade server needs to support registering of an instance or
>>> a class of Application.
>>> Jean-Francois, that should be easy to declare the class of the
>>> Application to use in the AtmosphereAdapter. You can also declare
>>> an instance by directly instantiating Jersey's ServletContainer
>>> and passing the instance to the constructor (in the latest
>>> SNAPSHOT source).
>>
>> I need to work on that part as the AtmosphereAdapter can be used
>> without Jersey (atmosphere-core), and It will bring a hard
>> dependency if I instantiate the Servlet directly.
>>
>
> OK.
>
> If you move the Jersey stuff into a separate (package private) class
> that is referenced by the AtmosphereAdapter then it will be possible
> to utilize AtmosphereAdapter without Jersey if the package private
> class is never utilized.
>
> Paul.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_atmosphere.dev.java.net
> For additional commands, e-mail: users-help_at_atmosphere.dev.java.net
>