What is IOC? Teach you to roll an IOC container
IoC
What is IoC?
IoC is the abbreviation of inversion of control. Note that it is a technical idea. It describes the creation and management of objects.
Traditional development methods: for example, if class a depends on class B, it often creates a new object of class B in class A.IoC development method: we don't need to go to the new object ...
Posted by arcanechaos on Fri, 12 Nov 2021 12:32:58 -0800
SSM integrated configuration process and mybatis plus agile development plug-in usage
Spring/Spring MVC/MyBatis(SSM) integration configuration process
Usage of mybatis plus agile development plug-in
Main knowledge points
SSM consolidation configuration
Mybatis plus configuration and Application
SSM consolidation configuration
Manage the third-party framework objects through the Spring IoC container, so that multiple framew ...
Posted by stelthius on Fri, 12 Nov 2021 02:07:45 -0800
Spring Boot interceptor configuration
catalogue
preface Spring Boot version What is an interceptor? How to customize an interceptor? How to make it work in Spring Boot? Take a chestnut
thinking According to what judgment, this interface has been requested? Where is this specific information stored? How? summary
preface
The last article talked about the basic conten ...
Posted by blear on Fri, 12 Nov 2021 01:08:24 -0800
One to one relationship mapping annotation @ OneToOne application in SpringData JPA
One to one relationship mapping annotation @ OneToOne application in SpringData JPA
Spring Data JPA has one-to-one, one to many, many to many and other relationship mapping. This time, we mainly study one-to-one relationship mapping. One to one relationship mapping is very common in life. For example, a college student has only one all-in-one ...
Posted by jonemo on Thu, 11 Nov 2021 14:02:25 -0800
Spring learning 04 --- reflection, static proxy, dynamic proxy
Write in front: the proxy mode can add new functions without changing the originally written function classes. The difficulty of dynamic agent lies in the implementation of reflection mechanism, so it is necessary to understand the reflection mechanism.
catalogue
1. Introduction to agency model
1.1 role of using agent mode
1.2 ways to imple ...
Posted by prem on Thu, 11 Nov 2021 12:19:02 -0800
SpringIOC Source Analysis
Life cycle of bean sCircular DependencyLevel 3 Cachefactorybena and benafactoeyDifferences between appliaationcontext and beanfactoryioc container
ย
bean - Data Structure - map - Level 3 Cache
IOC container
context.getBean() - When to call
How to create a bean - factory, reflection - configuration file (xml) in a container
Introduction t ...
Posted by Digimatt on Thu, 11 Nov 2021 09:22:37 -0800
A brief introduction to Spring Cloud and a simple introductory example
1 Overview Spring Cloud is based on Spring Boot, which provides several components to help enterprises build micro-service systems. The main functions it provides are: Service Registry/Service Registration/Service Call/Load Balancing/Circuit Breaker, etc. Generally, it uses the existing open source software, which is based on the concept of Spr ...
Posted by colmtourque on Thu, 11 Nov 2021 08:38:49 -0800
[Spring] Spring and the Web (the last chapter)
Spring learning is coming to an end~~~~~~~~~
๐ spring-web ๐ Complete the student registration function.
Steps:
New mavenModify pom.xml: dependencies other than spring and mybatis, servlet and jsp dependenciesCreate entity class Student, corresponding to Student2 tableCreate dao interface and mapper fileCreate mybatis master profileCrea ...
Posted by FadeToLife on Thu, 11 Nov 2021 00:39:00 -0800
The configuration center writes the configuration to the spring environment
preface
There are two configuration injections in the configuration center, one is before startup, and the other is dynamic configuration after configuration changes. This article mainly summarizes the pre startup configuration injection spring environment.
Pre knowledge
spring configuration will store the configuration in the PropertySo ...
Posted by pakenney38 on Thu, 11 Nov 2021 00:29:03 -0800
Centralized way of parent-child relationship processing in RBAC
RBAC (Role-Based Access Control) means that users are associated with permissions through roles. In short, a user has several roles, and each role has several permissions. In this way, the authorization model of "user role permission" is constructed. In this model, the relationship between users and roles and between roles and permiss ...
Posted by robin on Wed, 10 Nov 2021 17:43:06 -0800