My colleague asked me how to query MySQL recursively, but I was stunned

Recommended reading: This set of 40K+star learning notes on Github can help you handle more than 95% of Java interviews It's no exaggeration to say that this SpringBoot study guide can solve 98% of the problems you encounter The most comprehensive test questions are fresh: 70 + algorithm questions, nearly 30 kinds of knowledge points often ...

Posted by Brink Kale on Mon, 31 Jan 2022 22:32:59 +0100

How to use Netty to realize remote call in SpringBoot?

preface As we all know, establishing socket connection is a very performance consuming thing when we make network connection. Especially in the case of distributed, using thread pool to maintain multiple client connections is a very thread consuming behavior. We have to solve one of the above problems through Netty's network connection technol ...

Posted by Gruessle on Mon, 31 Jan 2022 21:20:01 +0100

On Java development specification and development details

In the previous part, we briefly analyzed the naming specification in the specification, the timing of variable declaration, the specification of if and braces, the common problems and specifications of packaging classes and basic types, and the null pointer in project development. In this article, we continue to talk about some common details ...

Posted by pacmon on Mon, 31 Jan 2022 19:46:14 +0100

I stepped on the same spring AOP pit twice a day. Deep pit

A few days ago, I just published an article "custom annotations! Definitely a sharp weapon for programmers to install B!!", Introduced how to use Spring AOP + custom annotations to improve the elegance of the code. Many readers said it was cool to use after reading it, but someone in the background left a message saying that after co ...

Posted by feign3 on Mon, 31 Jan 2022 17:25:38 +0100

Using Python program to realize Morse password translator Python theme month

Morse code is a method of transmitting text information as a series of on-off tones, lights or clicks. It can be directly translated by a familiar partner without special equipment. It is named after Samuel F. B. Morse, the inventor of the telegraph. algorithm The algorithm is very simple. Every character in English is replaced by a series of ...

Posted by mamuni on Mon, 31 Jan 2022 02:50:58 +0100

Learn dubbo - take you through the source code to see how dubbo uses netty

preface Some time ago, I learned about the netty source code from scratch, but they all understood it in principle. The blogger has just learned a little about the dubbo framework. This time, take the dubbo framework as an example to see in detail how the excellent open source framework uses netty and how it integrates with the logic of the fr ...

Posted by croakingtoad on Mon, 31 Jan 2022 02:46:53 +0100

Java advanced: Collection framework 3

catalogue 1, Map interface 1. Map and Collection 2. Common methods in map interface 3. Map set traversal - keySet method 4. Entry interface 5. Map set traversal - Entry 6. HashMap stores user-defined type key values 2, Object oriented idea of set inheritance system 3, Mutual conversion of array and List 1. Convert Collaction to array 1, Map ...

Posted by dannyone on Sun, 30 Jan 2022 22:18:37 +0100

Detailed explanation of Java generic mechanism; Do you know all this?

Special invited author of enjoying learning class: Dream chasing youth Reprint, please state the source! ###Foreword When we do development, we always emphasize the concept of data type. In Java, it is divided into basic type and reference data type. There are eight basic data types. In addition to classes, we can also use the way of interfa ...

Posted by Yves on Sun, 30 Jan 2022 21:25:01 +0100

The result mapping of the introduction to Mybatis, did you shoot it right?

preface This article explains the result mapping of Mybatis. If you want to use Mybatis flexibly in enterprise development, you must be proficient in this part. What is result mapping? Simply put, it is how the fields returned by an SQL query statement correspond to the attributes in the Java entity class.The following SQL statement is used ...

Posted by mattee on Sun, 30 Jan 2022 18:10:36 +0100

Dare to skip class. The teacher made a random roll call system with Python. Do you still escape?

I will give you two opportunities to skip class. You must know what is more important than class. For example, the Jianjia outside the building, or the moon tonight. -- Mr. Zhou Heng Introduction: In college, many teachers will call the roll before or after class. Sometimes they will draw some students to answer questions in class. Today, we ...

Posted by algarve4me on Sun, 30 Jan 2022 17:12:31 +0100