0%

Book Description

Summary

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.

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

    1. Copyright
    2. Brief Table of Contents
    3. Table of Contents
    4. Foreword
    5. Preface
    6. Acknowledgments
    7. About this Book
    8. About the Cover Illustration
    9. Part 1. Netty concepts and architecture
      1. Chapter 1. Netty—asynchronous and event-driven
      2. Chapter 2. Your first Netty application
      3. Chapter 3. Netty components and design
      4. Chapter 4. Transports
      5. Chapter 5. ByteBuf
      6. Chapter 6. ChannelHandler and ChannelPipeline
      7. Chapter 7. EventLoop and threading model
      8. Chapter 8. Bootstrapping
      9. Chapter 9. Unit testing
    10. Part 2. Codecs
      1. Chapter 10. The codec framework
      2. Chapter 11. Provided ChannelHandlers and codecs
    11. Part 3. Network protocols
      1. Chapter 12. WebSocket
      2. Chapter 13. Broadcasting events with UDP
    12. Part 4. Case studies
      1. Chapter 14. Case studies, part 1
      2. Chapter 15. Case studies, part 2
    13. Appendix. Introduction to Maven
    14. Index
    15. List of Figures
    16. List of Tables
    17. List of Listings