Last year I took a look into updating the Websocket stuff but it wasn't too easy. I found Tomcat and Jetty not really easily approachable in terms of Websocket. For another project I just took Netty's Websocket module and it took just a few lines. Perspectively, having a native MINA Websocket implementation would definitively be the best approach and at least the prefered solution for Vysper.
Bernd On Sat, Aug 2, 2014 at 12:46 PM, Niklas Gustavsson <[email protected]> wrote: > On Thu, Jul 31, 2014 at 3:26 PM, Bernd Fondermann > <[email protected]> wrote: >> Today, there is also the Websocket protocol. I'd highly recommend >> using Websocket instead of BOSH/HTTP as a transport for XMPP. The >> caveats are that not all browsers support Websocket and Vysper is not >> providing an implementation of Websocket. > > There is an implementation for websockets in Vysper: > https://git-wip-us.apache.org/repos/asf?p=mina-vysper.git;a=tree;f=server/extensions/websockets;hb=HEAD > > That said, it most likely needs updating to reflect the latest > websocket spec (update the Jetty dependency should be a good start), > and possibly to the XMPP over websocket spec. > > /niklas
