users@grizzly.java.net

Re: [Jersey] Starting a Web-App with the GrizzlyWebContainer

From: Sebastien Dionne <survivant00_at_gmail.com>
Date: Tue, 13 Apr 2010 06:14:00 -0400

Grizzly Deployer can be use for that. Just need to add Jasper in the
classpath or from the command line.. and it will works.



2010/4/13 Paul Sandoz <Paul.Sandoz_at_sun.com>

> Hi Timo,
>
> The GrizzlyWebContainerFactory provides limited functionality. So you will
> need to use more of the Grizzly web/servlet-based APIs.
>
> See here:
>
> http://weblogs.java.net/blog/survivant/archive/2009/04/grizzly_httpdep.html
> http://weblogs.java.net/blog/survivant/archive/2009/04/grizzlywebserve.html
>
> It should be possible to deploy from an "exploded" war.
>
> CC'ing the Grizzly users list for more details.
>
> Paul.
>
> On Apr 13, 2010, at 11:39 AM, Wolf, Timo wrote:
>
> Hi,
>>
>> For testing, I used to start my jersey based web service with the
>> GrizzlyWebContainerFactory as shown in all the samples.
>>
>> ...
>> SelectorThread threadSelector =
>> GrizzlyWebContainerFactory.create(BASE_URI, initParams);
>> ...
>>
>>
>> Now, I had to add some JSPs and css stylesheet files to the web-app. These
>> files are not accessible when using the GrizzlyWebContainerFactory as
>> before.
>>
>> Is there a way to bundle the whole web-app (including the web.xml) from
>> Java and start it with the GrizzlyWebContainerFactory?
>>
>> Thanks a lot,
>>
>> Best,
>> Timo
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>


-- 
-------------
A+
Sébastien.
Vous pouvez me suivre sur Twitter / You can follow me on Twitter :
http://twitter.com/survivant