MINA 学习1

Apache MINA 是一个简化且全面的网络应用程序框架,帮助开发者轻松构建高性能、高可扩展性的网络应用程序。它提供了统一的 API,支持多种传输类型,包括 TCP/IP、UDP/IP、RS232 串行通信等,并且具有灵活的线程模型和高级定制选项。

MINA 即JAVA NIO的框架。


基本概念:

1.MINA是什么

Apache MINA is a network application framework which helps users develop high performance and high scalability network applications easily. It provides an abstract event-driven asynchronous API over various transports such as TCP/IP and UDP/IP via Java NIO.

Apache MINA is often called:

  • NIO framework library,
  • client server framework library, or
  • a networking socket library

2.MINA特性

MINA is a simple yet full-featured network application framework which provides:

  • Unified API for various transport types:
    • TCP/IP & UDP/IP via Java NIO
    • Serial communication (RS232) via RXTX
    • In-VM pipe communication
    • You can implement your own!
  • Filter interface as an extension point; similar to Servlet filters
  • Low-level and high-level API:
    • Low-level: uses ByteBuffers
    • High-level: uses user-defined message objects and codecs
  • Highly customizable thread model:
    • Single thread
    • One thread pool
    • More than one thread pools (i.e. SEDA)
  • Out-of-the-box SSL · TLS · StartTLS support using Java 5 SSLEngine
  • Overload shielding & traffic throttling
  • Unit testability using mock objects
  • JMX managability
  • Stream-based I/O support via StreamIoHandler
  • Integration with well known containers such as PicoContainer and Spring
  • Smooth migration from Netty, an ancestor of Apache MINA.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值