What's Inside

This book is not particularly about IM per se. Nor is it about the bridges to other IM systems. It's about the essence, the ideas, the potential behind that concept and reality called Jabber.

You will learn about the Jabber protocol, and how to use Jabber's technology not only to implement IM based solutions but also solutions that don't involve inane chat. You'll learn how to install and configure your own Jabber server. You will discover more about the features of Jabber that give it its propensity for being an ideal messaging glue for many communication solutions; all of Jabber's technology features—the building blocks and the protocol itself—are explained; and you'll get to know how Jabber can be implemented in a variety of situations—some involving IM, others not—through a series of application and problem scenarios with fully working code examples, or recipes, in Perl, Python and Java.

Here's a brief overview of what's in the book.

Part I, Getting Started with Jabber

The first part of this book provides you with an introduction to Jabber; you'll learn about its features, why it's more than an IM system, and how to install and configure a Jabber server of your own.

Chapter 1, A Taste of Things to Come

We begin with an imaginary conversation with human and application participants, which shows how Jabber provides the supporting messaging "plasma". A short script shows how simple it is to make use of Jabber's power.

Chapter 2, Inside Jabber

We take a look at some of the features—the nature—of Jabber, to understand why Jabber is more than just an IM system. The features introduced in this Chapter will be revisited as core building material for our recipes in Part II.

Chapter 3, Intalling the Jabber Server

Here you'll learn how to retrieve and install the Jabber server, and perform minimal configuration, enough to be able to fire it up and use it as a basis for the recipes in Part II. Some troubleshooting and monitoring tips are also included.

Chapter 4, Server Architecture and Configuration

Once we have our Jabber server installed and running, we take a closer look at how the server has been designed. We focus on the server makeup, and the different ways it can be deployed. A detailed tour of the standard configuration is also in this Chapter.

Part II, Putting Jabber's Concepts to Work

The second part of this book provides a series of recipes—practical solutions to everyday problems—deployed in Jabber. The recipes use various Jabber features as a way of illustration.

Chapter 5, Jabber Technology Basics

We take a detailed look at what Jabber looks like under the hood. We examine JIDs, resource and priority, XML streams, and namespaces, as well as the basic Jabber building blocks (<message/>, <iq/> and <presence/>).

Chapter 6, Identification, Authorization and Registration

This Chapter looks at the steps needed to create and authenticate with a user, including the different types of authentication. We will also build a utility to create users.

Chapter 7, Simple Messaging and Presence Applications

This Chapter looks at some simple examples of Jabber deployment using basic features of message and presence, including presence subscription.

Chapter 8

chapter 8

Chapter 9

chapter 9