spring boot notes sorted out all night (very complete)

SpringBoot overview SpringBoot provides a way to use Spring quickly. Based on the idea that convention is better than configuration, developers do not have to switch thinking between configuration and logical business, and devote themselves to the coding of logical business, which greatly improves the efficiency of development SpringBoot feat ...

Posted by Gier NL on Sun, 12 Sep 2021 00:49:39 -0700

Understanding of java agent concept

Agents can be divided into static agents and dynamic agents, and dynamic agents can be divided into dynamic agents of jvm and dynamic agents of cglib. The underlying layer of AOP like spring framework uses the technology of dynamic agent. What is agency? In fact, agency is a kind of scene. I want to inquire about each other before a blind date, ...

Posted by designrandom on Fri, 10 Sep 2021 19:17:15 -0700

Spring -- Introduction (taking version 5.2 as an example)

The notes of this article are compiled from the video https://www.bilibili.com/video/BV1Vf4y127N5 1. Overview of spring framework (1) Spring is a lightweight open source Java EE framework, which can solve the complexity of enterprise application development. (2) Spring has two core parts: IoC and Aop IoCControl inversion, and leave ...

Posted by adslworld.net on Fri, 10 Sep 2021 17:22:40 -0700

Spring IoC XML based DI detailed configuration solution [20000 words]

This paper introduces in detail the complete solution of DI configuration based on XML for Spring IoC. Previous articles The concept of Spring IOC container and IoC assembly based on XML In, we learned two methods of dependency injection. Now let's take a look at some more detailed configurations. This article is based on spring 5.2.8. ...

Posted by nsbrown on Fri, 10 Sep 2021 14:33:13 -0700

JSR303 - Data Verification & unified response data format

1. Introduction to jsr303 It is applicable to data verification on the server sideJava provides a standard framework for Bean data validity verification  Spring MVC supports the verification framework of JSR 303 standard  JSR 303 specifies the verification rules by marking the verification annotation on the Bean attributeSpring itsel ...

Posted by mancroft on Thu, 09 Sep 2021 21:57:23 -0700

Spring boot integrates swagger gracefully

Import dependency <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <dependency> <groupId>io.springfox ...

Posted by Michael Lasky on Thu, 09 Sep 2021 15:06:36 -0700

Spring Cloud Gateway's built-in filter factory

Spring Cloud Gateway's built-in filter factory Built-in filter factory Here is a simple table of all the filter factories built into Spring Cloud Gateway. Filter FactoryEffectparameterAddRequestHeaderAdd a Header for the original requestName and value of HeaderAddRequestParameterAdd request parameters to the original requestParameter name an ...

Posted by methodman on Thu, 09 Sep 2021 11:25:18 -0700

Spring Framework Knowledge Summary IOC\DI Pure Annotation DevelopmentAOP

The Spring Framework is the most basic project in the Spring Ecosphere and the foundation of other projects 1: Core container: Spring containers are the core of the Spring framework and are used to manage objects. Containers create objects, connect them together, configure them, and manage their entire life cycle from creation t ...

Posted by cosminb on Wed, 08 Sep 2021 17:14:00 -0700

Comment function implementation

9.8 comment function realization and sorting Here, take the implementation of the comment list of the article page as an example 1, Business analysis Simulated station B comment service 1.1 business logic When accessing an article, try to get the comment list of the article.According to the article comment configuration (these config ...

Posted by kooza on Wed, 08 Sep 2021 16:12:37 -0700

Spring dependency injection XML based DI

DI: assign values to attributes spring calls the parameterless construction method of the class to create an object. Assign a value to the property after the object is created. To assign a value to an attribute, you can use: Tags and attributes in xml configuration filesUsing annotations DI classification: Set injection is also called set ...

Posted by fatmart on Wed, 08 Sep 2021 15:01:00 -0700