users@grizzly.java.net

Re: GF V3 & Grizzly 1.9.10

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 18 Mar 2009 16:44:11 -0400

Salut,

felixx wrote:
> Hi all,
> Maybe this info it is somewhere but i wasn't able to find it. I have 2
> simple questions:
> 1. In GF V3 Prelude, is Grizzly the DEFAULT web/servlet container or some
> configuration is required?

Grizzly in v3 is the runtime kernel that dispatch http requests to the
proper container. As an example, the WebContainer in v3 (based on
Tomcat) receive request from Grizzly.

  If not, what web container is used and how can i
> switch to grizzly 1.9.X ?

For Prelude it is complicated as we weren't using OSGi bundles but
instead repackaging grizzly. And the API has changed so I don't think
you can update Prelude with 1.9.10

>
> 2. I have GF V3 Prelude (downloaded as part of NB6.5) and I downloaded now
> the latest grizzly-webserver-1.9.10.jar.
> Now, how can I upgrade/config GF to use it?

Download GF v3 trunk instead (if you can).

The original GF has a
> grizzly-module.jar and a grizzly-optionals.jar (the comet part), also
> grizzly-optionals.jar has comet in 2 packages: com.sun. enterprise.* and
> com.sun.grizzly.* (why? which one is the 'good' one?).

BTW Grizzly has a Servlet Container has well (not the one in GF) that
you can use directly (Comet works on top of it). If you can upgrade to
v3 trunk, then you might want to take a look.

A+

-- Jeanfrancois


> Thanks in advance!