博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
openfire
阅读量:6858 次
发布时间:2019-06-26

本文共 651 字,大约阅读时间需要 2 分钟。

配置参考: 

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

 

转载于:https://www.cnblogs.com/codesay/p/4345401.html

你可能感兴趣的文章
Linux常用命令大全
查看>>
JavaScript:下拉列表框的事件处理
查看>>
ASP.NET Aries 3.0发布(附带通用API设计及基本教程介绍)
查看>>
jQuery EasyUI实现关闭全部tabs
查看>>
poj3635Full Tank?[分层图最短路]
查看>>
【USACO 1.4】Mother's Milk
查看>>
CentOs 设置静态IP 方法
查看>>
使用Maven构建多模块项目
查看>>
李洪强经典面试题47--UNIX常用命令
查看>>
angularjs中templateUrl的路径问题
查看>>
Linux 命令详解(三)./configure、make、make install 命令
查看>>
分享Kali Linux 2017年第31周镜像文件
查看>>
03-老马jQuery教程-DOM操作
查看>>
mongodb09----replicattion set--健壮性
查看>>
sql中的笛卡尔积
查看>>
C Array length function problem - C / C++
查看>>
ASP.NET中26个常用性能优化方法
查看>>
Objective-C利用协议实现回调函数
查看>>
angularjs的$window功能小练习
查看>>
Bayesian generalized linear model (GLM) | 贝叶斯广义线性回归实例
查看>>