openfire

配置参考: 


xmpp, html5客户端:
xmpp是一种聊天协议. 基于该协议, 所有支持该协议的聊天工具, 均可以互相聊天.
rfc: http://www.ietf.org/rfc/rfc3920.txt
php example: http://www.ibm.com/developerworks/cn/xml/tutorials/x-realtimeXMPPtut/index.html
IBM example: http://www.ibm.com/search/csass/search/?q=xmpp&sn=dw&lang=zh&cc=CN&en=utf&hpp=20&dws=cndw&lo=zh
js: http://strophe.im/strophejs/
github html5 example: http://candy-chat.github.io/candy/

自己理解: xmpp是一套协议. 基于这套协议, 使得im工具可以互相通信.

基于java又openfire服务器, 外层引入nginx 80 端口 http请求的反向代理.
nginx收到http请求, 转发给openfire, openfire作为聊天服务器.

测试http服务是否正常: http://domain:7070/http-bind/?%3Cbody%20rid=%221%22/%3E

 

posted @ 2015-03-17 19:50  代码会说话  阅读(454)  评论(0编辑  收藏  举报