Chapter 10. Communication Server with XMPP

In this chapter, we will cover the following recipes:

  • Installing Ejabberd
  • Creating users and connecting with the XMPP client
  • Configuring the Ejabberd installation
  • Creating web client with Strophe.js
  • Enabling group chat
  • Chat server with Node.js

Introduction

Extensible Messaging and Presence Protocol (XMPP) is a communication protocol that provides near-real-time message passing between two or more entities. XMPP is based on XML and transfers data in predefined formats that are known to server as well as client systems. Being an XML-based protocol, you can easily extend XMPP to suit your requirements. It also provides various standard extensions to extend the base functionality of the XMPP server.

In this chapter, ...

Get Ubuntu Server Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.