[jdev] XMPP for Mobile

Andreas Monitzer jdev at monitzer.com
Mon Apr 9 10:10:27 UTC 2012


I looked into this quite a while ago and came to the conclusion that BOSH (XEP-0124) is the best solution:

 * It's relatively simple
 * It allows changing IP addresses without going offline
 * It persists even when a TCP connection fails
 * It works even when there's no direct internet connection via most HTTP proxies
 * It's implemented in all major server software already and is well-tested

Note that there are special purpose mailing lists for both mobile and BOSH (see http://xmpp.org/participate/discuss-xmpp/), but they seem to be quite dead at the moment.

Andreas Monitzer

On Monday, 09. April 2012 at 07:39, Jan Vincent Liwanag wrote:

> Hi,
> I was wondering if anyone could share their experience using XMPP for mobile based clients (3G on the phone). I've taken a look at Stream Management, AMP, Keep-alives, etc but was wondering what set-up works for mobile clients. Besides this, I've been reading about TextOne, I'm wondering what their approach is.
> Also, one approach that seems to work for messaging on the mobile is that of Yahoo's in their Messenger API - which is to make everything pull-based. Any comments?

More information about the JDev mailing list