An open source asynchronous event-driven network application framework written in Java. It is a NIO client server framework which enables quick and easy development of network applications such as protocol servers and clients
Netty is an asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers & clients.
If you have a question about using Netty in your network application, this is the tag you should use.
Useful Links
- Netty home page provides a user guide, JavaDoc, and various examples. Please make sure to read the user guide before posting a question. Otherwise you have a very high chance of asking a trivial question.
- User mailing list archive contains a number of questions and answers related with Netty. If you failed to find the answer for your question, you might want to search this archive before posting the question at StackOverflow.
- Wikipedia page
Using as a dependency in a maven project
Netty can be used in combination with the dependency system from maven.
Depending on your use case, you can either include "netty-all", or add all the modules you use separately. The following examples give an example how to use netty-all
in combination with maven.
The following should be placed under the <dependencies>
tag in maven.
Latest SNAPSHOT
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>5.0.0.Alpha3-SNAPSHOT</version>
</dependency>
Latest Beta
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>5.0.0.Alpha3</version>
</dependency>
Latest Alpha
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.1.0.Beta8</version>
</dependency>
Latest Final
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-all</artifactId>
<version>4.0.35.Final</version>
</dependency>