SpringBoot and web components

SpringBoot and web components This chapter explains three contents: interceptor, servlet and filter Interceptor Interceptor is an object in spring MVC, which can intercept requests to Controller There are system interceptors in the framework. You can also customize the interceptors to realize the pre-processing of requests Implementing cust ...

Posted by vbracknell on Wed, 08 Dec 2021 22:33:40 +0100

Rough translation understanding of SSM framework (pure theory)

1. Development tools and brief description of technologies used 1.1 framework description Framework: Spring+Spring MVC+MyBatis 1.2 development tools Development tools: JDK, Tomcat, IntelliJ, idea, spring, spring MVC, MyBatis,MySQL 2. Develop technical route 2.1 basic knowledge and application of spring 2.1.1 Spring foundation 1.IOC ...

Posted by PunjabHaker on Wed, 08 Dec 2021 07:15:04 +0100

Take stock of those empty sentences in the Spring source code

Those empty sentences in Spring source code Background & Introduction I believe that many people use StringUtils of org.apache.commons.lang3 when judging space at ordinary times When I read the Spring source code, I found a treasure. StringUtils comes with the Spring framework, and it can also be null judged First, we can take a loo ...

Posted by djheru on Wed, 08 Dec 2021 05:56:23 +0100

Spring IOC configuration and use

preface The previous article briefly introduced IOC. This article focuses on how to use IOC in spring 5 for Bean management. There are two ways, based on xml files and annotations, which we will talk about one by one. BeanFactory interface The bottom layer of the IOC container is the object factory Spring provides two implementations of IOC ...

Posted by inkdrop on Wed, 08 Dec 2021 05:07:53 +0100

SpringBoot: operating principle - Crazy God

How exactly does the hellospprinboot we wrote earlier run? For Maven project, we usually start from the pom.xml file; pom.xml Parent dependency It mainly depends on a parent project, which mainly manages the resource filtering and plug-ins of the project! <parent> <groupId>org.springframework.boot</groupId> &lt ...

Posted by missy3434 on Wed, 08 Dec 2021 01:21:13 +0100

Thoroughly learn Spring IOC and AOP - Theory + Practice

  catalogue 1 IOC 1.1 concept 1.2 bottom layer principle 1.3 IOC container 1.4 Bean Management: Implementation Based on xml configuration file 1.5 two types of beans 1.6 scope of bean 1.7 Bean life cycle 1.8 automatic assembly (xml mode) 1.9 introducing external configuration files into bean s 1.10 Bean Management: Annotation Ba ...

Posted by gofeddy on Tue, 07 Dec 2021 18:41:03 +0100

Interview question: how to solve the circular dependency problem of Spring

Circular dependency in Spring What is circular dependency What is circular dependency? It can be divided into two parts: loop and dependency. Loop refers to the loop in the computer field, and the execution process forms a closed loop; Dependency is the prerequisite for completing this action, which is generally consistent with the meaning of ...

Posted by maskme on Tue, 07 Dec 2021 17:42:36 +0100

The past and present life and application practice of Dubbo, a distributed service governance framework

Dubbo's background Dubbo has been open source for nearly 10 years and has been widely used in major domestic enterprises. What magic is it worth pursuing? This article gives you a detailed description. Requirements of large-scale service for service governance When enterprises begin large-scale service, the disadvantages brought by remote ...

Posted by williamg on Tue, 07 Dec 2021 16:07:04 +0100

Redis based distributed lock

        The previous article briefly described the basic principle of Redis implementing distributed locks. This time, we will analyze the source code of distributed locks provided by Redis. (the eleventh day of knowing yourself as a rookie) RedissonClient:         Let's talk about the conclusion fi ...

Posted by charlesg on Tue, 07 Dec 2021 01:55:28 +0100

Spring transaction management

Spring transaction management 1. Spring transaction management Things can be regarded as a unit composed of several operations on the database. When we develop enterprise applications, an operation for business personnel is actually a combination of multi-step operations for data reading and writing. During the sequential execution of ...

Posted by el_quijote on Mon, 06 Dec 2021 21:25:21 +0100