Netty in Action introduces the Netty framework and shows you how to incorporate it into your Java network applications. You'll learn to write highly scalable applications without the need to dive into the low-level non-blocking APIs at the core of Java.
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
About the Technology
Netty is a Java-based networking framework that manages complex networking, multithreading, and concurrency for your applications. And Netty hides the boilerplate and low-level code, keeping your business logic separate and easier to reuse. With Netty, you get an easy-to-use API, leaving you free to focus on what's unique to your application.
About the Book
Netty in Action introduces the Netty framework and shows you how to incorporate it into your Java network applications. You will discover how to write highly scalable applications without getting into low-level APIs. The book teaches you to think in an asynchronous way as you work through its many hands-on examples and helps you master the best practices of building large-scale network apps.
- Netty from the ground up
- Asynchronous, event-driven programming
- Implementing services using different protocols
- Covers Netty 4.x
About the Reader
This book assumes readers are comfortable with Java and basic network architecture.
About the Authors
Table of Contents
Part 1 Netty concepts and architecture
Chapter 1 Netty—asynchronous and event-driven
Chapter 2 Your first Netty application
Chapter 3 Netty components and design
Chapter 4 Transports
Chapter 5 ByteBuf
Chapter 6 ChannelHandler and ChannelPipeline
Chapter 7 EventLoop and threading model
Chapter 8 Bootstrapping
Chapter 9 Unit testing
Part 2 Codecs
Chapter 10 The codec framework
Chapter 11 Provided ChannelHandlers and codecs
Part 3 Network protocols
Chapter 12 WebSocket
Chapter 13 Broadcasting events with UDP
Part 4 Case studies
Chapter 14 Case studies, part 1
Chapter 15 Case studies, part 2
Appendix Introduction to Maven