users@grizzly.java.net

Re: Am I crazy? Yes...

From: Paul.M <paul.mattheis_at_gmail.com>
Date: Mon, 1 Feb 2010 17:27:44 -0800 (PST)

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.