users@grizzly.java.net

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

From: Igor Minar <iiminar_at_gmail.com>
Date: Mon, 16 Feb 2009 18:12:40 -0800

On Feb 16, 2009, at 6:02 PM, Jeanfrancois Arcand wrote:

> Salut,
>
> Igor Minar wrote:
>> Hi there,
>> so I'm looking at what would be the most efficient way to develop
>> grizzly-sendfile for grizzly 1.0.x and 1.9.x in a most efficient
>> manner.
>> I saw that there is a grizzly-compat module in 1.9.x which looks to
>> work just fine for comet apps but it is just not going to cut it
>> for my needs.
>
> Can you come with a list of API you are using from Grizzly 1.0.x? I
> can look at it and see if I can emulate them. I'm not 100% I can fix
> all of them but I would like to see :-)

Brief grep through the source code revealed dependencies on these
classes:

import com.sun.enterprise.web.connector.grizzly.AsyncExecutor;
import com.sun.enterprise.web.connector.grizzly.AsyncFilter;
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;
import
com.sun.enterprise.web.connector.grizzly.async.AsyncProcessorTask;
import com.sun.enterprise.web.connector.grizzly.async.DefaultAsyncHandler
;
import org.apache.coyote.Request;
import org.apache.coyote.Response;
import org.apache.tomcat.util.http.FastHttpDateFormat;


/i


>
>
>> Given all the differences between 1.0.x and 1.9.x I'm thinking that
>> creating two separate projects might be the best way to go, but I
>> wanted to check with you in case someone had to go through this
>> already.
>
> Will be painful IMO as the package were renamed, the Pipeline
> dropped, etc.
>
> A+
>
> -- Jeanfrancois
>
>
>> cheers,
>> Igor
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>