users@grizzly.java.net

customize CometdServlet

From: Vassili Gontcharov <v.gontcharov_at_gmail.com>
Date: Fri, 08 May 2009 20:38:11 +0200

Salut,
Hi JeanFrançois,
Ouf my DummyEventRouter works with Glassfish v3 prelude with cometd v1.8.2
You spoke about a possibility to use cometd v1.9.9 by dropping Grizzly OSGI to Glassfish modules
So i tried to drop jars
grizzly-httpservice-1.9.9.jar
grizzly-httpservice-bundle-1.9.9.jar
and got an error about compatibility of servlet interface.

Can you say me please if is it good link : http://download.java.net/maven/2/com/sun/grizzly/osgi/
for get Grizzly OSGI modules or I have to get few others ?

Sorry for my English
Thanks


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
>