Spring AOP dynamic proxy

Source: Liao Xuefeng's official website In AOP programming, we often encounter the following concepts: Aspect: aspect, that is, a function across multiple core logic, or system concern; Joinpoint: connection point, which defines where to insert the execution of the aspect in the application process; Pointcut: entry point, that is, a set of con ...

Posted by BRUUUCE on Mon, 09 May 2022 11:11:16 +0300

Initialization of Spring container ApplicationContext

preface Taking the spring container created in the Web project as the starting point, this paper describes the initialization process of WebApplicationContext. Spring version 4.3.18 RELEASE. 1, Initialization entry In the development of Web project based on Servlet+Spring, if the implementation class of WebApplicationContext is no ...

Posted by g00fy_m on Sun, 08 May 2022 20:14:13 +0300

SpringBoot2.x+Spring5+Mybits3.x later use vue front-end to build front-end and back-end separation-1 to get to know the new SSM

catalogue What is annotation What is the Spring framework Relationship between SpringBoot and SpringClound Common SpringBoot project development methods Recommended solutions for learning new technologies What is annotation Java annotation is some meta information attached to the code, which is used for parsing and using some tools dur ...

Posted by chigley on Sun, 08 May 2022 09:10:50 +0300

SpringBoot ~ solve three doubts, why POM No version required for importing dependency in XML file? How does it achieve automatic configuration? How does it start and run?

Why POM You do not need a version to import dependencies in an XML file? SpringBoot is a Maven project in the final analysis. We usually start from POM XML file; In the past, whether it was java web or SSM, we were in POM The import dependency in the XML file needs to implement its version, but there is no version in the SpringBoot project ...

Posted by ThunderAI on Sun, 08 May 2022 07:00:13 +0300

A necessary skill (algorithm) for contemporary programmers: recursive explanation

preface Recursion is a very important algorithm idea. You need to master it whether you are front-end development or back-end development. In daily work, recursive algorithms are needed to count the size of folders, parse xml files and so on. It's too basic and important, which is why interviewers often ask us to write recursive algorithms. In ...

Posted by NoMansLand on Sun, 08 May 2022 06:34:17 +0300

Principle of spring boot automatic configuration

Article reference source I'll start with the following principles when the startup class starts. It's also an entry point for my own learning! First, there is an annotation @ SpringbootApplication on the startup class. This annotation is a composite annotation or derived annotation, which contains three annotations: @Target(ElementType.TYPE) @ ...

Posted by Web For U on Sat, 07 May 2022 10:19:46 +0300

xml way to customize the implementation of the Ioc container

@[TOC] xml way to customize the implementation of the Ioc container Use xml to implement a custom simple Ioc container foreword In the usual development process, we all use Spring for development. The Ioc container at the core of Spring helps us to create objects. This process is called inversion of control, also called Ioc.When an object is in ...

Posted by roydukkey on Sat, 07 May 2022 07:32:39 +0300

Spring Maven implements package management

1. Basic use of spring Guide Package: commons-logging-1.2.jar spring-beans-5.2.3.RELEASE.jar spring-context-5.2.3.RELEASE.jar spring-core-5.2.3.RELEASE.jar spring-expression-5.2.3.RELEASE.jar Write configuration: Person.java package com.mashibing.bean; public class Person { private int id; private String name; private int ...

Posted by oliverj777 on Sat, 07 May 2022 04:31:33 +0300

Notes on Spring annotation development

Notes and their functions: @Configuration: configuration annotation, which is modified on the configuration class. It tells Spring that this is a configuration class, and the configuration class is equivalent to the configuration file. @ComponentScan: component scanning annotation, decorated on the configuration class, specifies the package t ...

Posted by Shawazi on Sat, 07 May 2022 01:07:17 +0300

A bug triggered a contest between hair. I won an overwhelming victory. Can you keep your hair?

I met a very strange problem while debugging the company's project a few days ago. Today I'll study it here Follow official account: Java architects alliance, update technical articles every day scene As a PDA interface is newly added to the company to query the historical parking flow data, I first check the qualified data from the database ...

Posted by Sangre on Fri, 06 May 2022 20:42:28 +0300