XMPP is Extensible Messaging and Presence Protocol (XMPP),
a set of open XML technologies for presence and real-time communication developed by the Jabber open-source community in 1999.
XMPP is an open, XML-based protocol for
instant messaging and presence, supported by the non-profit Jabber Software Foundation.
Jabber is a IM technology over
XMPP protocol.
XMPP is the core protocal of Jabber
Jabber is an open instant messaging technology that anyone can use.
the application sphere over the XMPP protocol
http://xmpp.org
Server-side:
http://xmpp.org/software/servers.shtml
Openfire (
http://www.igniterealtime.org/projects/openfire)
OpenIM (
http://www.openim.techlab.smk.fr/en/page1.xml)
Citadel
CommuniGate Pro
djabberd
ejabberd
IceWarp
iChat Server
in.jabberd
Isode M-Link
jabberd 1.x
jabberd 2.x
Jabber XCP
Jerry Messenger
Prosody
psyced
Sun Java System Instant Messaging
synapse
Tigase
Wokkel
Client-side:
Pidgin, Google Talk...
Open source library to develope client-side:
http://xmpp.org/software/libraries.shtml
Smack 3.1
http://www.igniterealtime.org/projects/smack/index.jsp
Echomine Feridian
IP*Works Internet Toolkit
Jabber Stream Objects (JSO)
Smack is an Open Source XMPP (Jabber) client library for instant messaging and presence. A pure Java library, it can be embedded into your applications to create anything from a full XMPP client to simple XMPP integrations such as sending notification messages and presence-enabling devices.
XMPP Extensions:
http://xmpp.org/extensions/
XEP - XMPP Extension Protocol(XEP).
http://xmpp.org/extensions/xep-0166.html
XEP-0166: Jingle
This specification defines an XMPP protocol extension for initiating and managing peer-to-peer media sessions between two XMPP entities
in a way that is interoperable with existing Internet standards.
The protocol provides a pluggable model that enables the core session management semantics (compatible with SIP) to be used
for a wide variety of application types (e.g., voice chat, video chat, file transfer) and with a wide variety of transport methods
(e.g., TCP, UDP, ICE, application-specific transports).
Server-side configuration with OpenFire
1) Unpack it, run openfire_3.63\bin\openfire.exe
2) Create database in MySQL
CREATE DATABASE openfire_db;
GRANT ALL PRIVILEGES ON openfire_db.* TO 'xmlasia'@'%' IDENTIFIED BY 'xmlasia' WITH GRANT OPTION;
3) Setup Server at http://127.0.0.1:9090
louislingster@gmail.com/xml-full
Login to console: admin/xml-full
Client-side java sample using smack:
1) add dependencies: smack.jar,smackx.jar
2) java code
static void test() throws Exception {
ConnectionConfiguration config = new ConnectionConfiguration("192.168.1.2", 5222);
XMPPConnection conn = new XMPPConnection(config);
conn.connect();
conn.login("louis", "louis", "");
ChatManager chatmanager = conn.getChatManager();
Chat chat = chatmanager.createChat("bob@localhost", new MessageListener() {
public void processMessage(Chat chat, Message message) {
System.out.println("Received: " + message.getBody());
}
});
try {
chat.sendMessage("Hello, Bob");
}
catch (XMPPException e) {
System.out.println("Error Delivering block");
}
Thread.sleep(Long.MAX_VALUE);
}
分享到:
相关推荐
XMPP体系架构 XMPP server:其内核是一个XMPP路由器,完成基本组件间的数据包交换和路由。 功能: 1.会话管理器:负责客户端会话认证,在线状态,用户联系表等 2.数据存储器(XDB):连接数据库系统,保持用户信息、...
Chapter 1: An Introduction to XMPP and Installing Our First Server Chapter 2 : Diving into the Core XMPP Concepts Chapter 3 : Building a One-on-One Chat Bot - The Chapter 4 : Talking XMPP in the ...
xmpp协议介绍PPT,详细介绍了XMPP核心协议方方面面
android的XMPP客户端
xmpp协议和xmpp扩展协议,chm格式
XMPP协议分析,xmpp是即时通讯IM中比较普遍的应用
基于XMPP的多方通信系统研究与实现.pdf 基于XMPP的P2P即时通信系统的研究及实现.kdh 基于SIMPLE和XMPP协议的移动IM研究.pdf XMPP研究与应用.pdf XMPP协议研究及其在IM系统群组通信中的应用.pdf XMPP协议分析及客户端...
XMPP的核心功能定义在Extensible Messaging and Presence Protocol (XMPP): Core [XMPP-CORE|XMPP文档列表/XMPP正式RFC标准/RFC3920]. 这些功能 -- 主要是 XML流, 使用 TLS和SASL,以及流的根元素之下的, , 和 <iq/> ...
XMPP是一种基于XML的协议,它继承了在XML环境中灵活的发展性。因此,基于XMPP的应用具有超强的可扩展性。经过扩展以后的XMPP可以通过发送扩展的信息来处理用户的需求,以及在XMPP的顶端建立如内容发布系统和基于地址...
erlang分布式 XMPP Seerlang分布式 XMPP Serverrvererlang分布式 XMPP Servererlang分布式 XMPP Server
关于XMPP协议的说明及介绍,XMPP体系结构的组成,XMPP原理等的说明
xmpp权威指南 xmpp the definitive guide
ios xmpp demo
xmpp api文档
xmpp
XMPP 核心 (内附XMPP实例),由于上传内容有限,实例只是提供下载地址,并没有直接将整个实例上传。因为不想用两个压缩包的形式上传了。
D3Xmpp 是一个完整的 XMPP 的 Android 的项目服务端使用 openfire 3.9.3客户端使用 ...PS:该项目是本人在学习xmpp过程中总结的一些东西,代码组织凌乱,旨在帮助新入门xmpp学习xmpp的基本使用 标签:D3Xmpp
XMPP Powers a wIde range of aPPlIcatIons including instant messaging, multi-user chat, voice and video conferencing, collaborative spaces, real-time gaming, data synchronization, and even search. ...