One-stop learning Java network programming a comprehensive understanding BIO / NIO / AIO

Chapter 1 [at the outset] network programming Three Musketeers BIO, NIO, AIO
network programming is the cornerstone of RPC, RPC programming throughout his career has always been a programmer. This chapter analyzes why the network to learn knitting, for whom this course design, course content and then introduce the main line of context, so that we clearly know that this course is not lip fake skill, but everywhere there is combat, combat optimization project step by step, Finally, through a comprehensive program to consolidate what they have learned. ...

Chapter 2 protocol analysis and network layer
chapter begins to resolve network link layer of the network involved to explain further leads to a basic network protocol knowledge. So that students understand the hierarchical thinking, positioning and role of the three protocols of understanding.

Chapter 3 Interpretation java.io jargon can become a vivid brilliant
chapter in the package java.io introduced, while an example Watch the soul of "Confessions, for example," explains synchronous asynchronous non-blocking blocking, and several other technical terms, popular and easy understand, impressed, and finally use simple universal thread and the thread pool, the main purpose is to analyze the problem and make use of the reserve in the back IO network programming. ...

Chapter 4 JavaIO the "past": BIO blocking model
This chapter introduces the concept of programming model through the analysis BIO programming model, so that students understand the BIO design; then BIO core programming and network programming classes to explain the principles of the BIO students master programming step, NIO-based chat room for subsequent groundwork.

Chapter 5 combat: BIO-based multiplayer chat room design and implementation of
lip off skill. The so-called learning from history, one can know the rise and fall, now with the oldest and most traditional design and technology BIO combat multiplayer chat rooms. From the analysis of the programming model BIO, the Chat function abstraction, to design and UML modeling, and ultimately to achieve further optimization of reconstruction, separated from the actual development step by step. ...

Chapter 6 JavaIO of "life": NIO non-blocking model
First Comparative programming model described in the previous chapter BIO NIO programming model by comparing NIO explain advantages in programming model; NIO then explain the core classes; BIO and NIO practical use are local file copy function and analyze the causes performance difference caused by compaction NIO basic skills, to make technical groundwork for subsequent transformation chat room feature. ...

Chapter 7 combat: the transformation of people using the NIO chat rooms
legends, the current framework is very fire NIO Netty, do not learn NIO, the world will enter Netty abused, there is also the cornerstone of RPC NIO, so the word does not say, This chapter code-driven programming allows you to have complete control under the NIO model, while allowing you to feel the transformation to enhance the performance of the chat room.

Chapter 8 JavaIO of "future generations" of the division: AIO asynchronous communication model
first control BIO, NIO AIO programming model introduction, recalling three kinds of programming model, summed up the evolutionary history of IO network programming; and then explain the JDK AIO core classes and implement the principles and AIO comb programming steps.

Chapter 9 combat: AIO transformation based multi-user chat room
called past experience guide for the future, despite the current AIO with a little, but in accordance with the process of technological development, the future can be expected. So we need to learn for the future, future-oriented programming. This chapter AIO transformation of chat rooms, while observing the before and after transformation to enhance performance.

Chapter 10 integrated combat: Starter Web server [ "Road" and "skill" Advanced]
This chapter describes the basic knowledge to do the server; then analyzed principle and web server; and finally lead the students hands-on from design to complete the test a simple version of the web server.

Chapter 11 JavaIO classic reproduction loading force required to share [interview]
This chapter reviews the principles and practice of programming phenomenon earlier learned observed, the three IO summarize, summarize the advantages and disadvantages of three kinds of IO and usage scenarios and use restrictions; for common interview questions to answer; summarizes all network programming knowledge.

Chapter 12 come to a close, rivers and lakes will again
Congratulations small partners, successfully break through the barrier, smooth get√ to java.io skills, the end of the course, to sort out the whole class to summarize, I wish the best for the future small partners, our rivers and lakes in future goodbye ~~

 

Download: stop learning Java network programming a comprehensive understanding BIO / NIO / AIO

Guess you like

Origin www.cnblogs.com/spysor/p/11495072.html
Recommended