users@grizzly.java.net

Re: Developing with Grizzly 1.0.x and 1.9.x simultaneously?

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 25 Feb 2009 10:46:01 -0500

Salut,

Igor Minar wrote:
>
> On Feb 18, 2009, at 10:59 AM, Igor Minar wrote:
>
>>
>> On Feb 17, 2009, at 1:00 PM, Igor Minar wrote:
>>
>>>
>>> On Feb 17, 2009, at 12:46 PM, Jeanfrancois Arcand wrote:
>>>>
>>>>> import com.sun.enterprise.web.connector.grizzly.Constants;
>>>>> import com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask;
>>>>> import com.sun.enterprise.web.connector.grizzly.LinkedListPipeline;
>>>>> import com.sun.enterprise.web.connector.grizzly.Pipeline;
>>>>> import com.sun.enterprise.web.connector.grizzly.Task;
>>>>> import com.sun.enterprise.web.connector.grizzly.TaskBase;
>>>>
>>>> All under com.sun.grizzly.http, with the exception of
>>>> Pipeline/LinkedListPipeline which has been replaced with
>>>> ExecutorServices. Is it a big problem?
>>>
>>> I'll look tonight. Maybe I could create an adapter or something.
>>
>> So I had a look at this last night, and I should be able to get it to
>> work even without Pipeline.
>>
>> I started working on an inverse grizzly-compat module, which would
>> allow me to develop against 1.9.x api, but make it run with the
>> compatibility layer on top of 1.0.x as well.
>
> This turned out to be just way too much work for relatively small
> benefit (being compatible with glassfish v2).
>
> I decided that grizzly-sendfile 0.3+ will be 1.9.x compatible, which
> means that it will run only on grizzly 1.9.x standalone and gf3.
>
> I'm excited about the changes in the api that grizzly made from 1.0 to
> 1.9. I think that this is the best direction for the grizzly-sendfile
> project.

Great. Let us know how it goes :-) You can always move you project under
the Grizzly umbrella in case you are interested (and since you work for
Sun, simple :-))

A+

-- Jeanfrancois

>
> /i
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>