Hi, On Tue, Jul 23, 2019 at 6:05 PM Sergey O <[email protected]> wrote: > > According to BOSH (https://xmpp.org/extensions/xep-0124.html) where a > persistent connection is used. We would like to implement BOSH on Jetty.
You don't need to do anything special to implement BOSH in Jetty, and BOSH does not mandate the use of a _single_ connection, so it can be implemented in HTTP/1.1. However, it's a lot of work and typically requires another protocol on top (e.g. XMPP). I suggest that, unless you have to implement a Jabber server, you look into CometD (https://cometd.org). It has already implemented long-polling (which is basically BOSH), and uses Bayeux as a higher level protocol. Basically everything is already done for you, you just have to use CometD rather than going the hard route and have to implement BOSH yourself. -- Simone Bordet ---- http://cometd.org http://webtide.com Developer advice, training, services and support from the Jetty & CometD experts. _______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jetty-users
