天天看点

xmpp java,用什么XMPP框架来选择Java

xmpp java,用什么XMPP框架来选择Java

I'm currently considering usage of XMPP as an additional protocol for an existing chat server. Since the chat server is implemented in Java, I'm looking for a java framework that implements XMPP.

It must support XMPP over HTTP.

It would be nice, but not mandatory, if the same framework could be reused for the web ui, to create a comet like web client.

Thanks in advance!

Update: A clarification: I want to expose the existing chat server using XMPP over HTTP, and I'm looking for a framework to do that.

In addition, I'm looking for a framework/component that provides a web client. Just like GTalk in GMail's web page.

解决方案

Use an existing server like OpenFire or Tigase, then use their extensibility mechanisms to add a new component. You access the server over plain XMPP or BOSH as per normal, then route to your new component using a different domain name.