Netty from introductory to in-depth

Source: Internet
Author: User

This time the leader made me familiar with socket development, I spent three weeks to learn the relevant knowledge, including Java socket development, focused on learning Netty this asynchronous non-blocking communication framework.

Here I have encountered in the process of learning the useful information collated, for your reference.

The first step: Java Native Socket network Development learning

Focus on the basic principles of CS communication and those commonly used classes, and how to implement the process of communication.

This stage of the demo is mainly the TCP server to the client, UDP unicast, multicast, broadcast. Reference blog:

1. http://blog.csdn.net/qq_23473123/article/details/51461894 (TCP)

2. http://blog.csdn.net/dabing69221/article/details/17286441 (UDP)

Step Two: Netty Knowledge summary

1. First of all, refer to the Chinese translation of the essence of Netty, here is the website: https://waylau.com/essential-netty-in-action/, this place is very thorough and clear.

Focus on understanding some concepts, design principles.

2. Following are some practical demo walkthroughs, refer to the blog to learn netty:http://blog.csdn.net/linuu/article/details/51306480 familiar with specific cases. There's a folder called example in the Netty source code.

It contains a lot of demos.

3. Finally have time, go to turn over "Netty authoritative guide", check leak fill. This csdn has free download: http://download.csdn.net/detail/u011642663/9505891, source code also in Csdn can find.

PS: Sometimes some cases can not run, it is likely that the Netty version is wrong.

Netty from introductory to in-depth

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.