Develop the QQ Android client using the Mina Framework (1) Mina Beginner's course

Source: Internet
Author: User

Apache Mina is a network application framework designed to help users develop high-performance and highly reliable network applications. It provides an asynchronous API that is abstracted from Java NiO in different transmissions such as TCP/IP and UDP/IP.

Apache MINA is also known as:

NIO Frame Library

Client Server Framework Library

A Network socket font

Although Mina is simple, it still provides a fully functional network application framework:

Provides a unified API for different transport types:

0 provides TCP/IP and UDP/IP support via Java NIO

0 through RXTX to provide serial communication (RS232)

0IN-VM Pipeline Communication

0 You can achieve your own api!.

Filter as an extended feature; Like a servlet filter

Low-level and advanced APIs:

0 Low: Use byte cache (bytebuffers)

0 Advanced: Using user-defined Message objects (objects) and encoding (codecs)

Highly customizable threading model:

0 Single Thread

0 A thread pool

0 more than one thread pool (i.e. Seda)

Use the Java 5 SSL engine to provide sandbox (Out-of-the-box) SSL TLS STARTTLS Support

overload protection and transmission flow control

Unit Testing with mock objects

JMX Management Capabilities

Stream-based I/O support via Streamiohandler

Integrated with well-known containers (e.g. Picocontainer, Spring)

The smooth migration from Netty to Mina, Netty was the predecessor of Mina.

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.