文件名称:Netty in Action.2014(MEAP v08)
文件大小:2.62MB
文件格式:PDF
更新时间:2017-12-14 13:50:18
netty nio socket
介绍netty的好书, 强烈建议阅读! 内容简介 · · · · · · Network applications must handle events intelligently and efficiently, establishing priorities, resolving conflicts, and managing resources to avoid blocks, dropouts, and the other jams that occur in high-traffic environments. Netty is a Java-based networking framework designed to handle asynchronous network events smoothly so your applications are easy to write and maintain. The framework hides all the boilerplate and low-level code from you, making it possible to keep your business-logic separate and reusable, even in different network transports and protocols. Netty has built-in support for many protocols i.e. HTTP, SPDY, and WebSockets. 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. You'll learn how to think in an asynchronous way as you work through numerous hands-on examples. You'll follow numerous examples that show you how to use Netty while you master the best practices of large-scale network apps. 目录 · · · · · · PART 1: GETTING STARTED 1 Netty and Java NIO APIs - FREE 2 Your first Application with Netty - AVAILABLE PART 2: CORE FUNCTIONS / PARTS 3 General design ideas of Netty 4 Transports - AVAILABLE 5 Buffers - AVAILABLE 6 ChannelHandlers - AVAILABLE 7 Codec - AVAILABLE 8 Provided ChannelHandlers 9 Bootstrap—Startup your Application PART 3: NETTY BY EXAMPLE 10 HTTP—Provide content for download 11 WebSockets—Chat 12 SPDY—Serve content the fast way 13 UDP—Broadcast messages via UDP PART 4: ADVANCED TOPICS 14 Thread-Model of Netty - AVAILABLE 15 Deregister and re-register Channel from-to and I/O-Thread 16 User specific events 17 Write your own Transport implementation APPENDIXES: A The Community / How to get involved B Related books C Related projects