Yes i understand but you won't be shipping both jetty 7 and 8 deps. Does socket.io java work with the other transports on jetty 8?
In socket.io.js you have an ordered list of transports to use, you could try to remove websockets to make it use xhr-multipart or polling. It should be simple to try your approach, in the gwt client just change the wnd.__useSocketIO to a check for WebSocket No dia 19 de Out de 2011 22:36, "Vicente J. Ruiz Jurado" < [email protected]> escreveu: > El 19/10/11 23:06, Nelson Silva escribió: > > Have you tried jetty 7.5.x ? In 7.5.0 they added draft 13 support. > > No, I jumped to 8. > > > It might > > be simpler to make socket.io work. > > But Socketi-io-java (== socket.io.js 0.6) doesn't work with hybi-10 > soooo, my proposal is to try to use the rest of the transports of > socket-io-java... and additionally the browser native websocket support > when available. > > I try to do a summary: > > Our situation when "use_socketio = false": > > | Browser w/ Websocket | Client Side | Server side | > | yes | native websocket | jetty 7.1.6 (fails) | > | no | (fails) | (fails) | > > Our situation when "use_socketio = true": > > | Browser w/ Websocket | Client Side | Server side | > | yes | native websocket | jetty 7.1.6 (fails) | > | no | socket-io.js (0.6) | socket-io-java (works) | > > > My proposal to use both (not sure if is possible): > > | Browser w/ Websocket | Client Side | Server side | > | yes | native websocket | jetty 8 (works) | > | no | socket-io.js (0.6) | socket-io-java (works) | > > Bests, > > -- > Vicente J. Ruiz Jurado > > http://comunes.org > http://ourproject.org > http://homes.ourproject.org/~vjrj/blog > > "One does not sell the land people walk on." [Crazy Horse, Sept. 23, > 1875] > > > > > > >
