欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Apache MINA
来自开放百科 - 灰狐
(版本间的差异)
(未显示1个用户的3个中间版本) | |||
第1行: | 第1行: | ||
+ | {{top news}} | ||
+ | [[Image:Mina-90x90.png|right]] | ||
+ | |||
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 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. | ||
第27行: | 第30行: | ||
* Integration with well known containers such as PicoContainer and Spring | * Integration with well known containers such as PicoContainer and Spring | ||
* Smooth migration from Netty, an ancestor of Apache MINA. | * Smooth migration from Netty, an ancestor of Apache MINA. | ||
+ | ==Architecture== | ||
+ | [[Image:apache-mina-arch.jpg|thumb|right|Architecture]] | ||
+ | 几个重要接口: | ||
+ | *IoAccepter 相当于网络应用程序中的服务器端 | ||
+ | *IoConnector 相当于客户端 | ||
+ | *IoSession 当前客户端到服务器端的一个连接实例 | ||
+ | *IoHandler 业务处理逻辑 | ||
+ | *IoFilter 过滤器用于链接通讯层接口与业务层接口 | ||
+ | 参考: [http://www.ibm.com/developerworks/cn/opensource/os-cn-apmina/index.html 使用 Apache MINA 开发高性能网络应用程序] | ||
==Powered By== | ==Powered By== | ||
*[[Apache Camel]] | *[[Apache Camel]] | ||
第48行: | 第60行: | ||
*http://download.huihoo.com/apache/mina/ | *http://download.huihoo.com/apache/mina/ | ||
*http://docs.huihoo.com/apache/mina/ | *http://docs.huihoo.com/apache/mina/ | ||
+ | |||
+ | [[Category:Framework]] | ||
+ | [[Category:Apache]] |
2010年9月27日 (一) 03:58的最后版本
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.
目录 |
[编辑] Features
- 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.
[编辑] Architecture
几个重要接口:
- IoAccepter 相当于网络应用程序中的服务器端
- IoConnector 相当于客户端
- IoSession 当前客户端到服务器端的一个连接实例
- IoHandler 业务处理逻辑
- IoFilter 过滤器用于链接通讯层接口与业务层接口
参考: 使用 Apache MINA 开发高性能网络应用程序
[编辑] Powered By
[编辑] Other Framework
[编辑] Links
分享您的观点