Summary
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.
What's Inside
- 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
Norman Maurer is a senior software engineer at Apple and a core developer of Netty. Marvin Wolfthal is a Dell Services consultant who has implemented mission-critical enterprise systems using Netty.
Table of Contents
PART 1 NETTY CONCEPTS AND ARCHITECTURE
- Netty-asynchronous and event-driven
- Your first Netty application
- Netty components and design
- Transports
- ByteBuf
- ChannelHandler and ChannelPipeline
- EventLoop and threading model
- Bootstrapping
- Unit testing
PART 2 CODECS
- The codec framework
- Provided ChannelHandlers and codecs
PART 3 NETWORK PROTOCOLS- WebSocket
- Broadcasting events with UDP
PART 4 CASE STUDIES
- Case studies, part 1
- Case studies, part 2