Several initialization points:
When calling the SpringApplication constructor and the setInitializers((Collection) getSpringFactoriesInstances(ApplicationContextInitializer.class)) method, the underlying layer calls the loadSpringFactories method, loads the classes under spring.factories, caches them, and then puts the classes of the initializa ...
Posted on Sun, 21 Nov 2021 13:22:58 -0500 by sdat1333
Write before: Then record your Spring learning journey. If you don't understand it, it is recommended to read it first Previous blog posts , detailed codes can be found in My Gitee warehouse SSM learning Clone download learn to use!
1.9.1 AOP introduction
It is the acronym of Aspect Oriented Programming, that is, asp ...
Posted on Sun, 21 Nov 2021 05:35:17 -0500 by jwilliam
Chapter V: goods and services - platform attributes
1, Attribute grouping
1. Introduction of front end
1. Copy the code summary of the front end into VScode
2. Because the data encapsulated in the controller's @ RequestMapping("/list/tree") is date, you need to change the data.data of the front-end code to data.date
3. Descript ...
Posted on Sat, 20 Nov 2021 14:40:43 -0500 by sell-traffic
Spring is an open source and free framework (container)Spring is a lightweight, non intrusive frameworkInversion of control (IOC), facing section (AOP)
Bottom line: Spring is a lightweight control inversion and aspect oriented framework.
Control inversion is a design idea, and di (dependencies in dependency injection) is a metho ...
Posted on Sat, 20 Nov 2021 03:52:51 -0500 by DedMousie
Mybatis integrated into spring
Spring provides the SqlSessionTemplate class, which is used to inject instances of this class into spring for sql operations. This class implements the sqlsession interface and directly calls the sqlsession method to execute sql. This class holds the SqlSessionFactory class and cre ...
Posted on Fri, 19 Nov 2021 21:08:52 -0500 by veronicabend
Overview of Hystrix
Due to the network or its own reasons, the service cannot be guaranteed to be 100% available. If a single service has a problem, thread blocking will occur when calling the service. At this time, if a large number of requests flood in, the thread resources of the Servlet container will be consumed, resulting in servi ...
Posted on Fri, 19 Nov 2021 20:17:41 -0500 by sijis
In many springboot projects, we can see a piece of code similar to this in pom:
Because the version I use here is 2.3.5. ...
Posted on Fri, 19 Nov 2021 17:43:54 -0500 by insanityonline
Spring state machine StateMachine framework - enterprise development practice (including code)
Recently, in my work, my superior sent me a task and asked me to write down the state machine. At first, I was directly ignorant. I didn't know what a state machine was. After listening to the business requirements, I slowly understood that the funct ...
Posted on Fri, 19 Nov 2021 06:40:32 -0500 by shedokan
Article reference source: Official Spring Framework documentation preface: The org.springframework.beans.factory package provides basic functions for managing and manipulating bean s, including programmatically The org.springframework.context package adds the ApplicationContext interface, which extends the BeanFactory interface and other interf ...
Posted on Fri, 19 Nov 2021 04:57:22 -0500 by TeamTJ
SpringBoot provides many annotations starting with Enable. These annotations are used to dynamically Enable some functions, and its underlying principle is to use the @ Import annotation to Import some configuration classes, such as realizing the dynamic loading of beans. This sentence sounds confused, so let's think about a question: ...
Posted on Fri, 19 Nov 2021 04:06:38 -0500 by Paul Arnold