java 什么是好的开源聊天解决方案?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/10680563/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is a good open source chat solution?
提问by TK123
I'm looking for a free scalable chat solution, sort of the equivalent of SOLR but for chat. I have a LAMP application that I need to integrate the chat with. For search I'm using SOLR and since it has a REST interface integrating with it was easy and didn't require writing any Java.
我正在寻找一个免费的可扩展聊天解决方案,有点类似于 SOLR 但用于聊天。我有一个 LAMP 应用程序,我需要与它集成聊天。对于搜索,我使用的是 SOLR,因为它有一个 REST 接口与之集成很容易,不需要编写任何 Java。
Is there a similar ready made solution that's also high peformance for chat? Obviously MySQL/PHP/AJAX based periodic polling scripts are out of the question.
是否有类似的现成解决方案,它也具有很高的聊天性能?显然,基于 MySQL/PHP/AJAX 的定期轮询脚本是不可能的。
采纳答案by krishnakumarp
Go with a good jabber implementation.
使用一个好的 jabber 实现。
http://www.igniterealtime.org/projects/index.jsp
http://www.igniterealtime.org/projects/index.jsp
http://www.igniterealtime.org/projects/openfire/index.jsp
http://www.igniterealtime.org/projects/openfire/index.jsp
回答by Salvatorelab
http://jwebsocket.org/
They have a chat demo you can download and modify (it is licensed under LGPL).
I'm developing a facebook-like chat with Node.js, it's not so difficult and works great. I'm using "socket.io" and now I'm going to develop an android app too, with https://github.com/Gottox/socket.io-java-client
Do you need private chat? or only public? Igniterealtime as @krishnakumarp posted seems much more complex and complete.
http://jwebsocket.org/
他们有一个你可以下载和修改的聊天演示(它在 LGPL 下获得许可)。
我正在用 Node.js 开发一个类似 facebook 的聊天,这并不难,而且效果很好。我正在使用“socket.io”,现在我也将开发一个 android 应用程序,使用https://github.com/Gottox/socket.io-java-client
你需要私聊吗?还是只公开?@krishnakumarp 发布的 Igniterealtime 似乎更加复杂和完整。