java 中的聊天应用程序?
可能的重复:
第三方聊天工具?
我想用 java 开发一个聊天应用程序。要求是:
- 它应该是基于 Web 的客户端服务器类型。
- 我不想使用小程序。
- 我需要使用我的公司域名。 (而不是 gmail 或 yahoo)
我想将此聊天与我现有的产品集成。它是使用弹簧框架开发的。
有没有免费的第三方工具?
Possible Duplicate:
third party tool for chat?
I want to develop a chat application in java. The requirements are:
- It should be web based and client server type.
- I dont want to use applet .
- I need to use my company domain. (rather than gmail or yahoo)
I want to integrate this chat with my existing product . which is developed using spring frame work.
Is there any third party tool that is free?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
概述如下:
http://java-source.net/open-source/chat-servers
Here's an overview:
http://java-source.net/open-source/chat-servers
1-您必须安装预先开发的聊天服务器。有很多可用的解决方案,我建议您选择 Ejabberd ( http://www.ejabberd.im/ )。它是一个使用 Erlang 实现的聊天服务器,被认为是一个高度可扩展的服务器。它与 facebook 聊天服务器相同,请注意,facebook 一开始只使用一台服务器来处理其在世界各地的所有聊天流量。
2-您必须集成一个将与聊天服务器通信的js聊天客户端。还有一个很酷的开源解决方案,称为 ijab ( http://code.google.com/p /ijab/ )。您只需将其配置为与您的服务器连接即可。
3- 要添加朋友并管理用户之间的交互,您可以使用 java jabber 库,并且有很多库。该库将用于连接到 ejabberd 服务器。您可以选择其中一种 Java 客户端,但其实有很多客户端。
在聊天配置中你会遇到很多问题,所以不要低估它
1- You have to install a pre developed Chat server. There is many available solutions I advice you to choose Ejabberd ( http://www.ejabberd.im/ ). It's a chat server implemented using Erlang and is considered as a highly scalable server. It's the same as facebook chat server, note that facebook used at the beginning only one server to handle all its chat traffic all over the world.
2- You have to integrate a js chat client that will communicate with the chat server. There is also a cool open source solution for that called ijab ( http://code.google.com/p/ijab/ ). You have just to configure it to connect with your server.
3- To add friends and manage interactions between users, you can use a java jabber library and there are many. This library will be used to connect to ejabberd server. You can choose one of the java clients but there are many.
You'll encounter many problems in the configuration of chat so don't under estimate it