Documentation¶
The MINA 2.0 User Guide can be found here : [User Guide](userguide/user-guide-toc.html)
Presentation Materials¶
These presentation materials will help you understand the overall architecture and core constructs of MINA
- MINA in real life (ApacheCon EU 2009) by Emmanuel Lécharny
- Rapid Network Application Development with Apache MINA (JavaOne 2008) by Trustin Lee
- Apache MINA - The High Performance Protocol Construction Toolkit (ApacheCon US 2007) by Peter Royal
- Introduction to MINA (ApacheCon Asia 2006) by Trustin Lee
Versions & References¶
There are currently three branches in MINA:
JavaDoc | Source Code | Description |
---|---|---|
2.0 | main, test | The officially recommended production-ready branch |
2.1 | main, test | The new recommended production-ready branch |
3.0 | trunk | The version we are currently working on |
You might also want to read the [frequently asked questions](faq.html] and learn how to contact us before getting started.
Tutorials¶
- MINA v2.0 Quick Start Guide - Create your first MINA based program using MINA version 2.0
- Logging Configuration - Configuring your MINA-based application for logging
- Transport-specific Configuration
- Serial Tutorial - Serial communications with MINA trunk
- UDP Tutorial - Writing a User Datagram Protocol (UDP) client and server using MINA
- APR Transport - Describes use of APR Transport with MINA
- Integrating with Spring - Demonstrates how to integrate MINA application with Spring
- Codec Repository - Links to available codec implementations for MINA
- Advanced Topic
- Writing IoFilter - Writing your own IoFilter implementation to deal with cross-cutting concerns
- Writing Protocol Codec for MINA 2.x - Implementing a protocol codec for separation of concern
- Using an Executor Filter - Controlling the size of thread pool and choosing the right thread model
- JMX Integration - Making your network application manageable
- Introduction to mina-statemachine - Implementing state machine based MINA applications using Java5 annotations
- User Guide - The new draft MINA User Guide.
For Developers¶
- Developer Guide - Building & deploying MINA, Coding Standard, and more
Examples¶
You can browse all examples here.
Name | Feature it demonstrates | Side |
---|---|---|
Reverser | Text protocol based on a protocol codec | Server |
SumUp server | Complex binary protocol based on a protocol codec | Both |
Echo server | Low-level I/O and SSL | Server |
NetCat | Client programming | Client |
HTTP server | Stream-based synchronous I/O | Server |
Tennis | In-VM pipe communication | Both |
Chat server | Spring integration | Both |
Proxy | Resending received bytes on another session. | Both |
Older Presentation Materials¶
- Building TCP/IP Servers with Apache MINA (ApacheCon EU 2007) by Peter Royal
- Building TCP/IP Servers with Apache MINA (ApacheCon EU 2006) by Peter Royal
- Introduction to MINA (ApacheCon US 2005) by Trustin Lee (Demo movie)