Smack is a library for communicating with XMPP servers to perform instant messaging and chat.
Smack Key Advantages
XMPPConnection connection = new XMPPConnection("jabber.org"); connection.connect(); connection.login("mtucker", "password"); Chat chat = connection.getChatManager().createChat("jsmith@jivesoftware.com", new MessageListener() { public void processMessage(Chat chat, Message message) { System.out.println("Received message: " + message); } }); chat.sendMessage("Howdy!");
About XMPP
XMPP (eXtensible Messaging and Presence Protocol) is an open, XML based protocol making it's way through the IETF approval process under the guidance of the Jabber Software Foundation (http://www.jabber.org).How To Use This Documentation
This documentation assumes that you're already familiar with the main features of XMPP instant messaging. It's also highly recommended that you open the Javadoc API guide and use that as a reference while reading through this documentation.