users@grizzly.java.net

Re: Am I crazy? Yes...

From: Sebastien Dionne <survivant00_at_gmail.com>
Date: Mon, 1 Feb 2010 21:04:14 -0500

did you try adding a new GrizzlyAdapter() ?

I think the sample of jmaki ou twitter used Comet.

2010/2/1 Paul.M <paul.mattheis_at_gmail.com>

>
> Here is at least part of the answer.... It allows me to setup a
> conversation
> using the chat demo.
>
> GrizzlyWebServer ws = new GrizzlyWebServer("/var/www");
> ws.addAsyncFilter(new CometAsyncFilter());
> CometdAdapter cometdAdapter = new CometdAdapter();
> ws.addGrizzlyAdapter(cometdAdapter);
> ws.start();
>
> I only have 2 issues.
>
> 1. It uses deprecated addGrizzlyAdapter, but I don't get the mapping
> parameter
> 2. When I have this on, it loses it's ability to serve static pages. Is
> there maybe an adapter or something I have to add back in?
>
> Thanks for the responses.
> --
> View this message in context:
> http://old.nabble.com/Am-I-crazy--Yes...-tp27316206p27414300.html
> Sent from the Grizzly - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> 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