User Guide

Table Of Contents
1048 Chapter 43: Using the Instant Messaging Event Gateways
The ColdFusion IM gateways act as IM clients and let you do the following:
Send and receive instant messages.
Send and respond to buddy or friend requests and manage buddy/friend information.
Set and get status and other information.
Receive and handle messages from the IM server.
About XMPP
XMPP (Extensible Messaging and Presence Protocol) is an open, XML-based protocol for instant
messaging. It is the core protocol of the Jabber Instant Messaging and Presence technology that is
developed by the Jabber Software Foundation. As of November 2004, XMPP was defined by four
Internet Engineering Task Force (IETF) specifications (RFCs), numbers 3920-3922. RFC 3920
covers the XMPP core, and 3921, covers instant messaging and presence. Numerous XMPP
servers and clients are available. ColdFusion MX supports the IETF XMPP protocol.
The following websites provide additional information about the XMPP protocol:
Jabber Software Foundation: www.jabber.org/. This site includes information on available
XMPP servers and clients.
IETF has copies of the internet standards for XMPP: www.ietf.org/rfc/.
The xmpp.org website was under development as of December 2004; at that time it included
several useful links, including links to relevant specifications: www.xmpp.org/.
About IBM Lotus Instant Messaging (Sametime)
IBM Lotus Instant Messaging, commonly referred to as Lotus Sametime, is the IBM product for
real-time collaboration. For more information about this product, see www.lotus.com/sametime.
About IM application development and deployment
The following sections introduce the ColdFusion IM application development tools and process,
and discuss IM messaging providers.
ColdFusion MX IM gateway classes
ColdFusion provides the following instant messaging gateway classes:
XMPPGateway The class for the XMPP event gateway type
SAMETIMEGateway The class for the IBM Lotus Instant Messaging event gateway
You implement your IM application by configuring a gateway instance in ColdFusion MX
Administrator that uses one of these gateway classes and creating a ColdFusion application that
uses the gateway instance to communicate with an instant messaging server.