Android based OpenFire Development Instant Messaging Tool (1) Build OpenFire server

Source: Internet
Author: User

The use of OpenFire as a server, so no need to write a server, will save a lot of things, openfire after a simple configuration can realize a communication server basic functions,

OpenFire

With Java development, open source real-time collaboration (RTC) servers are based on the XMPP (Jabber) protocol.

Xmpp

An xml-based protocol that inherits the flexibility of development in an XML environment. Therefore, the application based on XMPP has super scalability. Extended XMPP can address the needs of users by sending extended information, as well as applications such as content publishing systems and address-based services at the top of XMPP. Furthermore, XMPP contains software protocols for the server side to communicate with the other, making it easier for developers to build client applications or to add functionality to a system that is well equipped.

Smack

Is the Instant Messaging client programming library

Advantages of Smack

1:smack is a simple, powerful class library.

2: Do not force you to encode at the packet level like other libraries. It provides more intelligent analogies such as chat and groups to make your work more efficient.

3: You don't need to be familiar with XMPP XML format, or even XML format.

4: Easy to implement machine-machine dialogue.

5:apace License under the open source software. You can use it for your commercial or non-commercial applications.

Now let's look at the OpenFire server,

After downloading OpenFire on the official Internet, decompression, open the bin directory of Openfire.exe, click Launch Admin, open the OpenFire management console, the first entry will appear configuration interface,

Because only simple functionality is implemented, the server does not make complex configurations for the time being. So the database chooses OpenFire to bring its own

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.