How Gradient services work

This page explains how we use the Smack API in the context of a servlet container to load XMPP services.

A servlet container is used to manage the lifecycle events of XMPP services.

This means that to use the XMPP service framework that I built ontop of the Smack API, you need to download some other software first:

  1. Either the J2RE or J2SDK from java.sun.com.

  2. A 2.4-series servlet container such as Tomcat 5.0, or Resin.

Once you've done that, you can download the demo webapp, configure it, and play around. The framework is documented at the following locations:

Server-side XMPP service basics

An overview of the server-side application framework architecture, an explanation of the service loading servlet configuration parameters, and how XMPP services interact with the servlet container.

The basics of a Gradient service

Explains the bare minimum of what you need to know to create a Gradient service.

© 2006. Some rights reserved. Author: Ian Sollars.