tag:blogger.com,1999:blog-710802380272033151.post-63198514729693705322008-01-27T17:20:00.000-05:002008-01-30T01:05:32.483-05:00XMPP for Push Services<div>Matt Tucker writes on <a href="http://www.jivesoftware.com/community/blogs/jivetalks/2008/01/24/xmpp-aka-jabber-is-the-future-for-cloud-services">Jivesoftware.com</a> about using XMPP (also known as Jabber) for push-based cloud services. The idea is that, rather than having the client software poll the service at a regular interval, which wastes resources, the server will <span class="Apple-style-span" style="font-style: italic;">push</span> updates to the client as they become available. While this has always been the desired way to update clients, with HTTP it is not easy to set a push system up. </div><br /><div>Using the XMPP protocol, originally developed for instant messaging, one could develop an e-mail client that is set up as a subscriber in an XMPP connection. The server would send new e-mails to the client as XML fragments in the data stream.</div><br /><div>A number of XMPP-related projects are hosted at <a href="http://www.igniterealtime.org/">Ignite Realtime</a>. These projects include <a href="http://www.igniterealtime.org/projects/openfire/index.jsp">OpenFire</a>, an XMPP-based IM server, <a href="http://www.igniterealtime.org/projects/spark/index.jsp">Spark</a>, an XMPP-based IM client, <a href="http://www.igniterealtime.org/projects/smack/index.jsp">the Smack API</a>, a Java XMPP API, and the <a href="http://www.igniterealtime.org/projects/xiff/index.jsp">XIFF API</a>, a Flash XMPP API. <a href="http://today.java.net/pub/a/today/2006/10/05/instant-messaging-for-jabber-with-smack.html">Java.net</a> has an interesting write up (including examples) of Smack.</div>Andrew Fadenhttp://www.blogger.com/profile/05426249474722922100noreply@blogger.com