Spring
04introduction and use of spring AOP AOP: Aspect Oriented Programming OOP: Object Oriented Programming Aspect oriented programming: Based on the new programming idea based on OOP, the main object oriented by OOP is class, while the main object oriented by AOP is aspect, which plays a very imporUTF-8...
Posted by aaron_mason on Mon, 20 Sep 2021 10:31:20 +0530
1. Function of interceptor The interceptor of Spring MVC is similar to the Filter in Servlet development, which is used to preprocess and post process the processor. The interceptors are connected into a chain in a certain order, which is called Interceptor Chain. When accessing the interceptedUTF-8...
Posted by Thrakorzog on Mon, 20 Sep 2021 18:29:22 +0530
catalogue 1, What is an exception 2, Exception architecture 3, Exception handling mechanism 4, Custom exception 1, What is an exception In actual work, the situation encountered can not be very perfect. For example, for a module you write, the user input does not necessarily meet your requiremeUTF-8...
Posted by DeGauss on Mon, 20 Sep 2021 19:11:18 +0530
Junit5 introduction and common test notes Spring boot has introduced JUnit 5 as the default library for unit testing since version 2.2.0. However, starting with versions above 2.4, the default dependency on Vintage (that is, modules compatible with JUnit 4 and JUnit 3) has been removed. If we UTF-8...
Posted by ClaytonBellmor on Mon, 20 Sep 2021 23:31:39 +0530
1, File abstract class Abstract representation of file and directory pathnames. The File or folder or path represented by the File class does not necessarily exist. This class is mainly used for: Creation and deletion of filesCreation and deletion of folders 1. Relative / absolute path object UTF-8...
Posted by Ice on Tue, 21 Sep 2021 02:03:02 +0530
Implementation principle of localeResolver in SpringBoot In the webmvcoautoconfiguration class 1. Webmvcoautoconfiguration is an autoconfiguration class for Web aspects in SpringBoot. 2. When the user does not create his own localeResolver, this configuration method will take effect, resultingUTF-8...
Posted by Phrank on Tue, 21 Sep 2021 05:20:09 +0530
What is the BeanDefinition meta information? Here is a picture of Mr. Ma When I first started learning Spring, I configured it in XML, so I probably know what it means. Generally, we all configure BeanDefinition in XML Let's take a look at the construction of BeanDefinition Construction of BeanUTF-8...
Posted by deception54 on Wed, 22 Sep 2021 02:56:26 +0530
Spring MVC - interceptor + file upload and download Our goal is the stars and the sea, not the dust on earth Interceptor The processor interceptor of spring MVC is similar to the Filter in Servlet development, which is used to preprocess and post process the processor. Developers can define somUTF-8...
Posted by programming.name on Wed, 22 Sep 2021 22:11:09 +0530
Original link: Detailed explanation of the difference between save and saveAndFlush when saving spring data JPA_ chusen's blog - CSDN blog The difference between save and saveAndFlush when saving spring data JPA Jpa is an ORM framework that we often use. It can operate the database quickly and UTF-8...
Posted by pessi on Wed, 22 Sep 2021 23:26:29 +0530
JSR303 verification 1. Use verification annotation A series of verification methods are provided in Java. These verification methods provide annotations such as @ Email, @ NotNull and so on in the "javax.validation.constraints" package. orgUTF-8...
Posted by rahulroy on Thu, 23 Sep 2021 09:52:46 +0530