A preliminary solution to the working principle of spring framework
1: Basic concepts of spring
1) Struts 2 is web framework, hibernate is orm framework
2) spring is a container framework, which creates beans and maintains the relationship between beans
3) Spring can manage the web layer, persistence layer, business layer, dao layer, spring can configure the components of each layer, and maintain the relati ...
Posted by werty37 on Tue, 09 Jun 2020 23:13:17 -0700
AOP learning notes
catalog
introduction
AOP overview
AOP terminology
Understanding of hands through practice (simple calculator)
introduction
What is AOP? (interview question), simply answering face-to-face programming can't satisfy the interviewer, it's better to combine your own understanding.
AOP overview
...
Posted by durahman on Tue, 09 Jun 2020 21:30:50 -0700
Minutes to connect your website to GitHub third-party login
OAuth2 and our little buddies have talked a lot. Let's practice with a practical case.
Here I use GitHub for third-party login.
Why GitHub?There are two considerations:
Programmers basically have GitHub accounts for easy testing.
In China, no matter QQ, WeChat, Weibo, etc., registration and auditing are required, which takes a lot of t ...
Posted by Stephen on Tue, 09 Jun 2020 10:08:22 -0700
SpringBoot event listening
summary
The Spring framework provides a perfect event monitoring mechanism. The steps to implement event monitoring in the Spring framework are as follows:
Custom events, inheriting org.springframework.context.ApplicationEvent abstract class
Define event listener, implement org.springframework.contex ...
Posted by phpsir on Tue, 09 Jun 2020 01:51:07 -0700
Springboot integrates flowable modeler without login, and queries the user / user group to change to its own system data
Before the flow chart was drawn, tomcat was used to start the flow modeler, but in this way, the data in your system cannot be queried when assigning task users / user groups. So now we need to integrate the flowable modeler into the project.
I searched a lot of articles before, but I didn't feel very clear. Maybe it was because I just got ...
Posted by garygay on Tue, 09 Jun 2020 00:30:35 -0700
Spring cloud integrates with Seata and uses Nacos as the registration center and configuration center to build the initial experience
Recently, we are introducing distributed transaction technology for the project. At present, Seata is a good choice. I plan to take a look at it. This article is purely a personal learning note, without any responsibility. In this article, nacos-1.2.0, SpringBoot-2.3.0, seata-1.2.0, mysql-5.7 are use ...
Posted by fluvius on Mon, 08 Jun 2020 23:16:09 -0700
SSM=Maven build project and Maven sub module build project
1, General knowledge of software development
(1) Project development process
1. Project approval
Project implementability analysis: (a project) 100W project, the development cycle is expected to be 6 months, 10 people are needed, and the operation (human) cost is 2W / person
The product manager st ...
Posted by andybrooke on Mon, 08 Jun 2020 22:30:50 -0700
Please, don't write a full screen try catch again!!
Author: giant brother
cnblogs.com/jurendage/p/11255197.html
background
In the process of software development, it is inevitable to deal with all kinds of exceptions. For myself, at least half of the time is spent dealing with all kinds of exceptions, so there will be a lot of try {...} catch {...} finally {...} code blocks in the code, which ...
Posted by chapm4 on Mon, 08 Jun 2020 21:34:07 -0700
Basic AOP usage of spring
AOP: [dynamic agent]
It refers to the programming method that dynamically cuts a piece of code into a specified method position to run during the program running
1. Import aop module: Spring AOP: (spring aspects)
2. Create a business logic class (MathCalculator): print the log when the business logic ...
Posted by ataylor20 on Mon, 08 Jun 2020 19:00:16 -0700
SpringBoot Learning Notes--Automatic Configuration Principle
The properties that a profile can configure refer to:
https://docs.spring.io/spring-boot/docs/current/reference/html/appendix-application-properties.html
Principle of automatic configuration
1. When Spring Boot starts, the main configuration class is loaded, and the auto-configuration function is tu ...
Posted by fatherlyons on Mon, 08 Jun 2020 18:27:24 -0700