Here I will descripe how to provide instant messaging via a discrete jabber server in the framework Drupal. As frontend I used a bit modified version of the web based JWChat. The backend communicates with the jabber server at database level and cares about correct registrations and buddy lists.
JWChat is a full featured, web-based Jabber™ client. Written using AJAX technology it relies on JavaScript and HTML at the client-side only. It supports basic
jabber instant messaging, roster management and groupchats based on the
MUC protocol.
JWChat is an advanced instant messenger (IM) just like AIM, MSN
Messenger, Yahoo! Messenger or ICQ. This means you can manage your
contacts, communicate with other users in 1:1 chat sessions or join a groupchat room for
collaborative communication.