Http://jiaoyu.gjjblog.com/ReadUrl.php? Id = 569681 this article introduces the two. NET technologies, specifically the jabber code libraries-jabber. NET and agsxmpp written in C #, and a cross-platform Jabber server-wilefire written in Java.
Preface:The translation of Jabber protocal (XMPP): core will be completed soon. In the next study, we will use a jabber code base and a Jabber server to do some XMPP implementation analysis and practice.
Jabber-NetJabber-net is a class library that uses. NET technology to connect to the Jabber server. At present, it does not have any plans to implement the server. If you are interested in leading a project to implement the server, you can exclude it from your choice. It is written in C #, but can also be referenced in other. NET languages (such as VB. NET). It can be used for components or clients. At the same time, when you explore it, you will find good things hidden in it, such as trees and command line processing, which is easier than jabbercom, which uses. NET technology. As a matter of fact, jabber-net seems to have been put on hold. The last time we talked with the new team was half a year ago, we had some new xep support and vs2005 support. In addition, it has very few documents and does not support forum or blog Development for this project except for the sound in the email list. Therefore, the official website does not have compiled source files and compiled class libraries to download. However, it can only be used as a reference in CVS. Introduction to jabber code libraries:
Code libraries lists some well-known class libraries used for Jabber/XMPP development.
Library |
Language |
License |
Client |
Component |
Server |
Jabber-Net |
C # |
Josl |
Yes |
Yes |
-- |
If you are interested in studying jabber-net, you can download the compiled Class Library: jabber-net setup from CVS.
AgsxmppAgsxmpp is written in C # and used for XMPP protocol development. This SDK is released as an open-source software based on "ag-software shared source licence. The current version is 0.1. Unlike jabber-net, the SDK supports both client, component, and server development. It has good support for documents, email lists, and development communities. Official Page: agsxmpp SDK, Forum: agsxmpp SDK.
The following is a simple example, showing the ease of using agsxmpp to log on to the XMPP server and send a message to another user. Use only three lines of code:
Xmppclientconnection XMPP = new xmppclientconnection ("jabber.org ");
XMPP. Open ("myusername", "mysecret ");
// Wait for the onlogin event and send your message
XMPP. Send (New message ("test@jabber.org", messagetype. Chat, "Hello, how are you? "));
Library |
Language |
License |
Client |
Component |
Server |
Agsxmpp |
C # |
Shared Source |
Yes |
Yes |
Yes |
WildfireWildfire is well-known. It is not a class library, but a Java-written cross-platform Jabber server implementation. Its installation, management, customization, integration with other applications, and integration with other networks are very simple, and even as a platform for your own applications. It has powerful jive software community support-jive software: instant messaging. Wildfire supports Chinese characters. The current version is 3.1, which can be used based on the GPL license. Introduction In Jabber servers:
Servers lists the available Jabber/XMPP Server implementations from many open-source projects and commercial purposes.
Server |
Feature score |
License |
Platforms |
Wildfire |
98% |
GPL or proprietary |
Aix, HP-UX, Linux, MacOS X, Solaris, Windows |
For more information about Jabber servers, see Introduction to common open-source jabber (XMPP) Im servers in iso1600.
Introduction to jabber code libraries: