users@grizzly.java.net

Re: customize CometdServlet

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 07 May 2009 09:59:09 -0400

Salut,

Vassili Gontcharov wrote:
> Salut Jean-François,
> Thanks for your reponse.
> I seek a solution for a message push systeme from a server applicaiton
> to client in PPC devices.
> Idea is to use Glassfish with comet, I tested a simple and is look
> well, and write a PPC client in C++ for wrapping http communication.
> May be my idea is crazy but if I can't try I don't have response or
> solution :-)
> I thought to write a servlet filter for personalize comet behavior... ?
> Can I extends EventRouterImpl and register mine ?

Now you can:

https://grizzly.dev.java.net/issues/show_bug.cgi?id=582

Let me know how it goes.

Thanks!

-- Jeanfrancois

>
>
> Salut,
>
> vassilux wrote:
>> Hi Alls,
>> I have just a question for comed / grizzly guru
>> What is best way to extends
>> com.sun.grizzly.cometd.servlet.CometdServlet for customize messages
>> delivring ?
>
> Can you elaborate a little about what you want to do exactly? The root
> is the EventRouterImpl:
>
> https://grizzly.dev.java.net/nonav/apidocs/com/sun/grizzly/cometd/EventRouterImpl.html
>
>
> https://grizzly.dev.java.net/nonav/xref/com/sun/grizzly/cometd/EventRouterImpl.html
>
>
> Thanks
>
> -- Jeanfrancois
>