用什么XMPP框架来选择Java [英] What XMPP framework for Java to choose

查看:467
本文介绍了用什么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.

它必须支持HTTP上的XMPP。

如果可以为web ui重用相同的框架,创建像web客户端这样的彗星,那将是很好的,但不是强制性的。

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.

提前致谢!

更新澄清:我想通过HTTP使用XMPP公开现有聊天服务器,我正在寻找对于一个框架来做到这一点。

此外,我正在寻找一个提供Web客户端的框架/组件。就像GMail网页中的GTalk一样。

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.

推荐答案

使用像 OpenFire Tigase ,然后使用他们的可扩展性机制,以添加新的组件。您可以通过普通XMPP或 BOSH 按正常方式访问服务器,然后 route 使用不同的域名到您的新组件。

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.

这篇关于用什么XMPP框架来选择Java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆