Komatsu's study and understanding of the core idea of spring
There was a wave of simulated interview at station b on Saturday. Three college students were a little disappointed
Because I think they are all back-end developers, and I'm android developers. I'm not familiar with spring and I'm afraid of making a fool of myself, so I've been mending spring knowledge all day on Saturday
As a result, no one ...
Posted by gijs on Sun, 05 Dec 2021 07:07:04 -0800
The principle of springboot-part01
1. Principle
1.1pom.xml
Spring boot dependencies: the core dependencies are in the parent projectWhen we write or introduce some Springboot dependencies, we don't need to specify the version because there is a version repository
1.2 starter
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId> ...
Posted by richmlpdx on Sun, 05 Dec 2021 06:43:23 -0800
[crazy God says Java] detailed explanation of Spring
Crazy God video address
https://www.bilibili.com/video/BV1WE411d7Dv?p=3
1,Spring
1-1. Introduction to spring
Spring: Spring -------- -- > brings spring to the software industry!
In 2002, the prototype of Spring framework: interface21 framework was launched for the first time!
Spring framework is based on interface21 framework. ...
Posted by bob_dole on Sun, 05 Dec 2021 06:11:11 -0800
Spring - automatic injection?
The way we often inject is similar to this
@Service
public class HelloService {
@Autowired
private BeanFactory beanFactory;
@Autowired
public HelloService(ApplicationContext applicationContext) {
}
@Autowired
public void setEnvironment(Environment environment) {
}
}
Whether constructor injection or attribute ...
Posted by kardiostep on Sun, 05 Dec 2021 05:30:52 -0800
Spring mvc-part01 what is spring MVC
1,SpringMVC
SSM: mybatis + Spring + spring MVC MVC three-tier architecture
JavaSE: study hard, teachers lead, and get started quickly
JavaWeb: study hard, teachers lead, and get started quickly
SSM framework: study official documents, exercise self-study ability, exercise note taking ability and exercise project ability
SpringMVC+Vue+Sprin ...
Posted by gazolinia on Sun, 05 Dec 2021 04:44:30 -0800
Chapter 7 - Bean life cycle and extension points of Spring
The core of Spring is the IoC container. It is very important to understand the life cycle of beans, which is very helpful for the application and extension of Spring in the project.
1, Life cycle
The life cycle of a Bean mainly consists of four stages: instantiation, attribute filling, initialization and destruction, plus class loading a ...
Posted by dourvas on Sun, 05 Dec 2021 02:24:37 -0800
Build a Web server in 3 minutes -- Java Spring Boot + MySql + Android App
Personal Taobao store link Partners in need can click here
1 Preparation
(1) Download the official website of tomcat, unzip it to / Library, start the Tomcat server, and the official website of Tomcat appears; (2) When downloading MySql, the Mac should not download the latest version, because MySql cannot be opened in the system preferences. ...
Posted by LiveFree on Sat, 04 Dec 2021 22:14:02 -0800
SSO single sign on + JWT privilege control practice based on Spring Security Oauth2
summary
The usage and practice of permission system based on Spring Security and JWT have been discussed in the previous design of permission system based on Spring Security and JWT. This paper further practices the multi system single sign on (SSO) and JWT permission control functions based on Spring Security Oauth3. After all, this requirem ...
Posted by ganesh129 on Sat, 04 Dec 2021 15:54:35 -0800
Spring instantiation -- who is my candidate
@Service
public class HelloService {
@Autowired(required = false)
public HelloService(ApplicationContext applicationContext) { // 1⃣️
}
@Autowired(required = false)
public HelloService(Environment environment) { // 2⃣️
}
}
Tell me, which constructor will Spring choose to instantiate HelloService? one ⃣ ♪ or 2 ⃣ ️ ? Th ...
Posted by gabe on Sat, 04 Dec 2021 15:48:02 -0800
SSM framework integration ~ ~ ~ small example (spring+springmvc+mybatis)
1, Tool preparation
1.maven Version maven-3.8.2
2.tomcat Version tomcat-8.5.65
3. Database Version 8.0.24
4. The database source is c3p0 Version 0.9.5.2
2, Database construction statement
Note: the following sql statement ...
Posted by ganeshasri on Fri, 03 Dec 2021 23:15:13 -0800