Netty Demos is a Java example collection that accompanies the Chinese Netty 4.x User Guide and a related practical book. It lets readers compare standard blocking I/O, NIO, AIO, and Netty implementations of similar network programs. The repository includes echo, discard, time, TCP, UDP, HTTP, HTTP/2, and WebSocket examples. Additional samples explain ByteBuffer, ByteBuf usage modes, thread pools, the Reactor pattern, heartbeat handling, and custom codecs. Serialization demonstrations cover Java objects and JSON through Jackson. Security examples include SSL/TLS mutual authentication, while monitoring modules show a lightweight service and interface. The project uses Netty 4.1.52, Jackson 2.10.1, and JUnit 5.5.2.

Features

  • Blocking I/O, NIO, AIO, and Netty comparisons
  • TCP, UDP, HTTP, HTTP/2, and WebSocket examples
  • ByteBuffer and ByteBuf demonstrations
  • Custom encoders and decoders
  • Heartbeat, serialization, and SSL/TLS samples
  • Lightweight monitoring modules

Project Samples

Project Activity

See All Activity >

Categories

Libraries

Follow Netty demos

Netty demos Web Site

Other Useful Business Software
Ship Agents Faster Icon
Ship Agents Faster

Transform your applications and workflows into powerful agentic systems at global scale.

Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
Get Started Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Netty demos!

Additional Project Details

Programming Language

Java

Related Categories

Java Libraries

Registered

3 days ago