If we want to use XMPP to implement instant messaging technology, we need to build an XMPP environment.
There are several ancillary tools required to build the XMPP environment: 1. Download the following three file installation packages: The first installation software setup: ①XAMPP is a powerful built-in XAMPP software station integration package. XAMPP is an easy to install and contains mysql,php, And Perl's Apache distribution. When the installation is complete, turn on all services. (All on the green light), then OpenFile can run the-->openfile in Java development, open source real-time collaboration (RTC) server based on the XMPP (Jabber) protocol. OpenFile installation and use is simple, and use the web for Management. A single server can support tens of thousands of concurrent users. OpenFile services are written in the Java language, and your computer must have a Java runtime environment. Install the JDK after successful installation of OpenFile. ② Enter the interactive page, set the relevant content: After entering the Web page: ③ upload local sqlite files: ④ Find local SQLite files (set read-only or allow access to properties) now that the import work is done, then we set up the interactive page of the OpenFile: After entering the webpage: Set the language to Simplified Chinese to this step, our work is finished, You can now log in: Build an XMPP client environment using spark, secondary debugging:
One design standard for XMPP systems is the need to support simple clients. In fact, the XMPP system architecture has only a few limitations on clients. The features that an XMPP client must support are:
1. Communicate with the XMPP server via TCP sockets;
2. Parse the well-organized XML packets; 3. Understand the message data type.
XMPP Environment Setup