Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] Fwd: BOSH on ebmedded Jetty - server side.

The problem is that we already have a client which we do not want to modify. It supports some BOSH subset (over one connection).
CometD is not an options for us...

вт, 23 июл. 2019 г. в 19:29, Simone Bordet <sbordet@xxxxxxxxxxx>:

On Tue, Jul 23, 2019 at 6:05 PM Sergey O <osnsergey@xxxxxxxxx> wrote:
> According to BOSH ( 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 (
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

Simone Bordet
Developer advice, training, services and support
from the Jetty & CometD experts.
jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Back to the top