[jdev] Integrating XMPP with enterprise applications

Raffaele Sena raff at aromatic.org
Wed Sep 14 19:13:59 CDT 2005

Thanks to everybody that answered the question.

I started looking at the component protocol but there are a couple of 
things I don't understand.

It is clear to me that if I send messages from a client to the component 
JID the component will get the message. But I didn't see anywhere in the 
component protocol how to make the component process all the messages the 
server get (that would be the way for me to forward some of those requests 
to my application server).

I think jabberd has a configuration option to make the component get some 
of the messages (a <bcc> tag) and I saw that with Jive a could write a 
plugin that can accomplish a similar effect. But is there a "standard" way 
to configure a component to do do what I need ?


-- Raffaele

On Wed, 14 Sep 2005, Norman Rasmussen wrote:

> On 14/09/05, Raffaele Sena <raff at aromatic.org> wrote:
> > What I would really like to do is have a single connection between the
> > application server and the XMPP server and some state information in the
> > application server for the connected clients. I thought that I could use the
> > server-to-server protocol to talk between the application server and the
> > XMPP server but there is no standard "server" library available (JSO seems
> > to support have some support for s2s but there are no examples of how to use
> > it).
> Why don't you make the application server connect to the xmpp server
> as a jabber component?  It's pretty much give the same functionality
> as s2s without all the dialback requirements.  That way you get a
> lightweight single connection that can have several users behind it. 
> (and you get several good examples of how to go about coding it)

More information about the JDev mailing list