Ok so after doing some reading it seems there are quite a few viable
options on how to get started with comet. I can choose any setup I
want for the backend, right now I'm leaning towards Jetty but it's
hard to decide. There seem to be articles dating from 2007 / GWT 1.4
which give conflicting reports on the state of support Jetty and
Tomcat offer:
Go with Jetty:
-easy to setup and supports continuations
-should I go with version 6, or version 7 though? Version 6
seems to use continuations
which are a way of imitating comet (bad explanation) but as I
understand it, version 7
will have a new 'real' continuation system for 'servlet 3'? So
which to choose?
-can you debug your webapp using Jetty as the server, I thought
GWT uses Tomcat
by default?
-need a GWT hack to get it to work:
http://docs.codehaus.org/display/JETTY/GWT
because GWT marked some class methods final which Jetty can't
work with (v6)
for RPC, don't know if that's different with v7.
Go with Tomcat:
-GWT uses this as the server for debugging? that's a plus.
-Seems more difficult to configure to work with comet than
Jetty, though most
of the articles I find on this date to pre GWT 1.5 in 2007, not
sure what the
current state of support is.
In terms of the GWT side of things, it seems like the chat example
here:
http://groups.google.com/group/gwtapps/files
is a good one to use as a comet example. Though it is GWT 1.4, I don't
know how much needs to be ported.
Thanks for any comments,
Mark
On Sep 8, 6:23 am, Thomas Broyer <[EMAIL PROTECTED]> wrote:
> On 7 sep, 05:50, markww wrote:
>
>
>
> > Is there any 'comet' support via GWT at the moment? I'm not completely
> > up to speed with javascript / browser technologies, I believe comet
> > was the practice of having the browser keep a connection open to the
> > server so the server could push data to the browser whenever it
> > wanted, instead of the client browser always polling for new data.
>
> > I'm not sure where GWT would fit into that as it would require some
> > logic server-side to work. Has there been any development with this,
> > where can I start?
>
> Completing Reinier's wonderful
> overview:http://code.google.com/p/google-web-toolkit-incubator/wiki/ServerPushFAQhttp://code.google.com/p/rocket-gwt/wiki/Comet
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---