users@jersey.java.net

Re: [Jersey] Deploying just a root resource class

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Wed, 25 Mar 2009 09:57:36 +0100

On Mar 24, 2009, at 8:21 PM, Alexandre Bertails wrote:

> I have just tried with Embedded Glassfish and it works pretty good !

Great.


>
> But there is 2 instances : one for Embedded Glassfish and another for
> Grizzly.
>
> Does anyone know how to have only one container ?
>

It might be possible with Grizzly, i just do not know how to do it. I
suggest sending email to:

   users_at_grizzly.dev.java.net


The only way i know of to do it with embedded GF is to install two
separate Web applications.

There is an API in embedded GF to deploy a "scattered war" thus one
does not need to create a war, but the disadvantage is one requires
there to be a web.xml. Currently there is no programatic way, as there
is in Grizzly, to configure the Web application.

Paul.