According to XMPP Standards Foundation "XMPP is the Extensible Messaging and Presence Protocol, a set of open technologies for instant messaging, presence, multi-party chat, voice and video calls, collaboration, lightweight middleware, content syndication, and generalized routing of XML data. "
XMPP was originally developed in the Jabber open-source community to provide an open, secure, spam-free, decentralized alternative to the closed instant messaging services at that time. The terms "Jabber" and "XMPP" are often used interchangeably.
Building a Java based client application for XMPP
We will use Smack API v 3.1.0 which is an open source XMPP client library for instant messaging and presence.
We will make XMPP client to communicate with Google Talk Service which uses the standard XMPP protocol for authentication, presence and messaging.
In order to have an application talk to Google Talk service the following information is required:
• The service is hosted at talk.google.com at port 5222
• TLS is required
• The only supported authentication mechanism is SASL PLAIN
Libraries Required (From the Smack API)
These jars are present in the downloaded archive and should be included in the build path - Refer to the screenshot for eclipse users