Source Understanding FactoryBean and BeanFactory Differences in Spring

Catalog Preface: Text: What is BeanFactory? What is FactoryBean? Use of FactoryBean Underlying Source Code Interpretation of FactoryBean The difference between with and without an identifier Summary: Preface: Now it's also a good time for Gold, Silver and Silver to jump around. When asked about the Spring Framework during an intervie ...

Posted by thebopps on Mon, 14 Feb 2022 19:12:38 +0100

[49] Python full stack -- template rendering

1. Label {% tag%} 1.1 for loop label <ul> <!-- Iteratable objects can use loops --> <!-- Loop list --> {% for foo in hobby %} <li>{{ foo }}</li> {% empty %} <!-- Displayed when the data of the loop is empty or there is no such variable empty The following --> <h1>Not ...

Posted by xx_princess_xx on Mon, 14 Feb 2022 16:48:45 +0100

Reflection mechanism of Java Foundation

preface Recently, when learning AOP of Spring framework, I want to know about dynamic proxy first. Other blogs say that the idea of dynamic proxy is related to Java reflection mechanism. Based on the principle of finding other blogs to save time, I am more and more confused, because Java reflection mechanism is very important and urgent ...

Posted by Paavero on Mon, 14 Feb 2022 16:30:28 +0100

Regular expression and text editor for Shell programming

1, Regular expression 1. Regular expression overview It is usually used to check whether a string satisfies a certain format in a judgment statement Regular expressions are composed of ordinary characters and metacharacters Ordinary characters include upper and lower case letters, numbers, punctuation marks and some other symbols Metachara ...

Posted by Lord Brar on Mon, 14 Feb 2022 14:41:57 +0100

Pointer from entry to advanced

    catalogue 1, The concept of pointer 2, Pointer and pointer type 2.1 pointer addition and subtraction integer 2.2 dereference of pointer 3, Field pointer 3.1 causes of field pointer 1. Pointer not initialized 2. Pointer cross-border access 3. The space pointed by the pointer is released 3.2 how to avoid wild pointer 4, Pointer o ...

Posted by gandelf1000 on Mon, 14 Feb 2022 14:36:11 +0100

It turns out that generics are so simple (day 18 of learning Java)

catalogue I Overview of generics II Define and use classes with generics III Define and use methods with generics IV Define and use interfaces with generics V Generic wildcard I Overview of generics When we learned about the collection, we all know that any Object can be stored in the collection. As long as the objects are stored in t ...

Posted by jakeklem on Mon, 14 Feb 2022 13:16:48 +0100

SpringBoot integrates Prometheus to realize application monitoring

1. Introduction to micrometer Micrometer provides a general API for performance data collection on the Java platform. Applications only need to use the general API of micrometer to collect performance indicators. Micrometer will be responsible for completing the adaptation with different monitoring systems. This makes it easy to switch the mon ...

Posted by SteveMellor on Mon, 14 Feb 2022 11:18:24 +0100

Java byte buffer stream & & character stream

0. Character stream and byte stream 1. Byte buffer stream 1.1 byte buffer stream construction method 1. Introduction to byte buffer stream lBufferOutputStream: this class implements buffered output stream. By setting up such an output stream, an application can write bytes to the underlying output stream without causing a call to the ...

Posted by Dave2711 on Mon, 14 Feb 2022 05:46:47 +0100

Detailed explanation of HashMap automatic capacity expansion mechanism source code

1, Introduction HashMap's source code, which we have interpreted before, is an array plus a linked list. If the linked list is too long, it will split into a red black tree. The automatic capacity expansion mechanism is not detailed. Let's take a look at it in detail today 2, Capacity expansion mechanism Let's start with the conclusion: T ...

Posted by MrLister on Mon, 14 Feb 2022 05:01:28 +0100

Rust homemade memory cheater

preface Cheat Engine is a game focused cheater. It can be used to scan the memory in the game and allow them to be modified. This tool may not have been heard of, but the famous Jinshan Ranger must have been used by everyone more than ten years ago. By chance, I saw a project written by Rust. I liked his concise grammar and gathered the advan ...

Posted by Bobulous on Mon, 14 Feb 2022 02:59:42 +0100