Explore Spring principles
Explore Spring principles
Explore IoC principles
First, let's have a general understanding of the loading process of ApplicationContext:
We can see that the whole process is extremely complex and cannot be explained in one sentence, so let's start with ApplicationContext.
Because the source code of Spring is extremely complex, it is impossible ...
Added by AsianGuyJTran on Sun, 06 Mar 2022 07:03:51 +0200
Design pattern: structural pattern -- Proxy Pattern
Design pattern: structural pattern – Proxy Pattern
1. Introduction
Structural patterns describe how classes or objects form a larger structure according to a certain layout. It is divided into class structured pattern and object structured pattern. The former uses inheritance mechanism to organize interfaces and classes, and the lat ...
Added by yalag on Sun, 06 Mar 2022 06:58:15 +0200
[original] on the writing method of pointer linked list
Python wechat ordering applet course video
https://edu.csdn.net/course/detail/36074
Python actual combat quantitative transaction financial management system
https://edu.csdn.net/course/detail/35475
preface
Recently, I came to update this series. In fact, I feel that the pointer is still very important for us. The pointer is a "nightm ...
Added by beckjo1 on Sun, 06 Mar 2022 06:54:45 +0200
New java8 feature: Stream stream
Stream stream
The new features of Java 8 are mainly Lambda expressions and streams. When streams and Lambda expressions are used together, the characteristics of stream declarative processing of data sets can make the code concise and easy to read
What is flow
A stream is a sequence of elements generated from a source that supports data proc ...
Added by tomdumont on Sun, 06 Mar 2022 05:13:16 +0200
The way of thread interruption and the inappropriate scenario of vilotile
principle
Usually, instead of manually stopping a thread, we allow the thread to run to the end and then let it stop naturally. However, there are still many special situations that require us to stop the thread in advance, such as the user suddenly closes the program, or the program restarts due to an error.
In this case, the thread that is ab ...
Added by Byron on Sun, 06 Mar 2022 04:59:25 +0200
Some properties of Java threads: thread state, thread scheduling, etc
1. Scheduling and management of Java threads
The current operating system has provided a very powerful thread management capability. Java does not need to carry out independent thread management and scheduling, but hands over the task of thread scheduling and management to the operating system.
2. Thread scheduling and time slice
1. CP ...
Added by Acs on Sun, 06 Mar 2022 04:07:23 +0200
MyBatis overview + getting started process
1, Configure the environment variable moven
2, MyBatis
Getting started steps
1. Introduce dependency
2. Write entity user Dao
User write field get set toString method
Methods defined in UserDao
3. Write UserMapper in restore
<mapper namespace="com.qcby.dao.UserDao">
<select id="findAll" resultType="com.qcby.entity.User"> ...
Added by cemeteryridge on Sun, 06 Mar 2022 03:39:13 +0200
[data structure] tree - Huffman tree (dynamic diagram, c + +, java, priority queue implementation Huffman tree)
GitHub sync update (Classified): Data_Structure_And_Algorithm-Review (it's best to give a star!!!)
The following is the main body of this article, and the following cases can be used for reference.
What is Huffman tree?
Given N weights as N leaf nodes, a binary tree is constructed. If the weighted path length of the tree reaches the ...
Added by Prine on Sun, 06 Mar 2022 02:29:12 +0200
Realization of 2048 games in JAVA
preface
In 2014, Gabriele Cirulli spent the weekend writing the program of 2048, which was just fun. He wants to create a different visual effect from his own animation.
The game is implemented in java language, using swing technology for interface processing, and the design idea is object-oriented.
Main demand
Every time you control all bl ...
Added by reece_1989 on Sun, 06 Mar 2022 02:19:27 +0200
Understand the difference between setup() and < script setup > < script > in vue3
setup ()
Setup () is a vue3 newly added component. Vue3 adopts the composite API. In order to use the composite API, we need an entry, which is called setup in the vue3 component.
(to put it simply, do not use the data, method and calculated in vue2. All data and methods are written in setup.)
Let's take a simple example:
<template>
...
Added by Helios on Sat, 05 Mar 2022 21:30:27 +0200