[Spring] three level cache and circular dependency in Spring
In the last article, we talked about the life cycle of springbeans and knew the process of instantiation, creation and destruction of springbeans, but we know that Spring supports one Bean to introduce other Bean objects, so the problem of interdependence is inevitable. How does Spring solve this problem? There are many ways for Spring to regis ...
Added by WormTongue on Fri, 25 Feb 2022 13:51:15 +0200
SpringBoot+mybatisPlus+Vue to build the front desk system of student record
SpringBoot+mybatisPlus+Vue to build the front desk system of student record
Front and rear end separation interaction:
Back end development:
Use IDEA+SQLyog+Maven
Version introduction:
IDEA:2020.0
sqlyog:V12.14
Maven:3.8.2
MySql:8.0.2
springBoot:2.5.7
mabatisPlus:3.0.5
Content introduction:
Inspired by my classmates, I found that th ...
Added by dbdbdb on Fri, 25 Feb 2022 13:08:23 +0200
JAVA object oriented
1. Basic concepts of inheritance
Inheritance is one of the three object-oriented features. Inheritance is everywhere. Inheritance is not only code reuse, but also the essence is to write code with abstract thinking in order to achieve stronger scalability of the program
Inheritance is the process of creating a new class from an existin ...
Added by darkerstar on Fri, 25 Feb 2022 12:28:34 +0200
Research on Innodb lock mechanism - gap lock
Lock algorithm in Innodb
There are generally three locking algorithms commonly used in innodb, namely
1. Record lock
2. Gap Lock
3. next key lock
The Next key lock is the combination of Gap lock and Record lock. It locks a range and locks the Record itself.
In other words, the next key lock is not a separate lock. As far as I understand, ...
Added by Black Hobbit on Fri, 25 Feb 2022 10:59:43 +0200
Principle and practice of custom externalization extension mechanism in Spring Cloud
Spring Cloud has enhanced the attribute source function of Environment,In the spring cloud context package, the PropertySourceLocator interface is provided to implement the extension of property file loading. We can extend our external configuration loading through this interface. This interface is defined as followspublic interface PropertySou ...
Added by ChrisLeah on Fri, 25 Feb 2022 08:26:51 +0200
News crawling release management, submission and chat front and back management system based on SpringBoot+Java+MySQL
introduce
This topic follows the theory of software engineering, as well as the software life cycle of requirements analysis, system design, coding and testing. The system is developed using the SpringBoot framework, which provides a full-featured MVC module for building Web applications. It is mainly composed of dispatcher servlet, handler ma ...
Added by greensweater on Fri, 25 Feb 2022 06:45:22 +0200
json formatting of springboot+mybatis
Suppose that there are five attribute values in the database, namely id,name,sex,age and hobbies. It is required that hobbies are presented in the front end in the form of array. At this time, it can be realized through JSON. At first, I thought of using JSON directly in impl, but there is a problem that there are not only hobbies, but also ID, ...
Added by uidzer0b on Fri, 25 Feb 2022 06:36:01 +0200
Installation and use of Nacos
Installation and use of Nacos
1, Introduction
Nacos component is a recommended implementation component of registry and configuration center in spring cloud component library.
As a registryAs the configuration center
2, Install the Nacos registry
Download Nacos server: https://github.com/alibaba/nacos/releasesInstallation: after decompress ...
Added by karapantass on Fri, 25 Feb 2022 06:19:44 +0200
[dependency reversal principle] of design principle
My cousin asked me to repair her radio, which confused me
Cousin: brother, my computer blue screen crashed ๐
Me: let me show you.
One meal operation
Me: you have two memory modules here, but one of them is broken. I'll unload it now and use the good one for the time being.
Cousin: Wow! Sure enough, that's great ๐ By the way, broth ...
Added by mysterbx on Fri, 25 Feb 2022 05:38:51 +0200
Java learning notes day24 network programming
Network programming
summary
Under the network communication protocol, programs running on different computers can transmit data
Three elements
IP address: the address of the equipment in the network, which is the unique identification;Port: the unique identification of the application in the device;Protocol: the rules of data transmission i ...
Added by veridicus on Thu, 24 Feb 2022 20:03:58 +0200