Common annotations of spring MVC

1.@RequestParam       1. It is used to receive the parameters passed by the method before the parameters passed by the method (it is an annotation that accepts common parameters in spring MVC)       2. Attribute: name in value request parameter required: whether this parameter is provided in the reques ...

Added by Sgt.Angel on Fri, 25 Feb 2022 14:21:11 +0200

[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

Learning SpringBoot

SpringBoot SpringBoot has all the advantages of spring, such as open source, lightweight, non intrusive and so on. Spring's own inversion of control (IOC) and aspect oriented (AOP) programming are also the characteristics of SpringBoot. However, spring itself has unavoidable disadvantages. First, it is the heavyweight configuration. Variou ...

Added by iamtheironman on Thu, 24 Feb 2022 18:46:33 +0200

[Spring Boot] how to customize the Spring Boot Starter

This article introducesWe all know that the Spring Boot project consists of starters, such as web starters, redis starters and so on.By introducing the corresponding starter through maven, we can perfectly use the integrated spring mvc or redis without configurationSo how do we customize a starter?This article will show you how to use the auto ...

Added by lailaigogo on Thu, 24 Feb 2022 12:46:43 +0200

Dependency injection learning notes

Ioc overview Ioc(Inversion Of Control) is translated as control inversion First, make it clear that the control without inversion is "active control" Active control: all the codes we wrote before are active control, which means that we can instantiate whatever objects are needed during the running of the programInversion of control ...

Added by Jack McSlay on Thu, 24 Feb 2022 11:50:27 +0200

Spring security filter chain analysis

Filter chain analysis In Spring security, all functions are implemented through filters, which form a complete filter chain. 4.1 initialization process analysis 4.1.1ObjectPostProcessor /** * Allows objects to be initialized. Typically, this is used to call the Aware method, initializingbean Afterpropertieset() and ensure disposab ...

Added by bbaker on Thu, 24 Feb 2022 08:29:24 +0200

spring ioc: circular dependency, L3 cache and FactoryBean

Last This article introduces the spring ioc container initialization process as a whole (starter - > refresh - > registerbeandefinition - > docreatebean - > populatebean)But it is limited to the routine process. How to deal with some special cases, such as "object loop application" spring - this is the question to be answe ...

Added by sherri on Thu, 24 Feb 2022 08:29:40 +0200

Annotation development of MyBatis

Mybatis annotation development single table operation 1. Common notes of mybatis In recent years, annotation development has become more and more popular. Mybatis can also use annotation development, which can be used to reduce the writing of Mapper Mapping file. @Insert: add @Update: implement update @Delete: delete @Select: implement q ...

Added by hemantraijain on Thu, 24 Feb 2022 02:45:23 +0200

[springboot annotation container] @ Bean

@Bean The @ Configuration annotation mentioned earlier is equivalent to turning a class into spring Configuration xml, how to inject beans with Configuration files? This requires the annotation @ Bean, which is used for methods. Adding @ Bean to a method is equivalent to adding a < Bean > tag to xml. Let's take a look at an example first ...

Added by gutogouveia on Wed, 23 Feb 2022 16:50:50 +0200

spring source code 5 Import idea2019 three point five

prepare Download idea2019 3.5 install and activate (see the compressed package sent by brother chicken in the group for specific steps). Pull spring 5 3.5 source code (tips: it is recommended to start with Star and then Forked, and then go back to the project warehouse of your account and then pull): https://gitee.com/hhf1237/spring-framewor ...

Added by mc2007 on Wed, 23 Feb 2022 14:58:09 +0200