Simple book management system (SSM framework integration + IDEA)
Book management system (SSM framework integration)
preface
The simple book management system implemented with SSM framework can carry out basic CRUD functions.
1, What is the SSM framework?
1.SSM
SSM (Spring + spring MVC + mybatis) framework set is integrated by spring and mybatis (spring MVC is part of spring), which is often used a ...
Posted by bokehman on Fri, 04 Mar 2022 15:14:12 +0100
Spring learning notes 01
catalogue
1, HelloWorld
What is Spring?
Describe Spring in detail
Spring module
2, IOC & Di overview
Previous IOC
3, Configure Bean
1. Step 1:
2. Step 2:
3. Step 3:
4, Property configuration details
V. automatic assembly
6, Relationship between beans
7, Scope of Bean
8, Use external properties file
9, SpEL
10, Manage the ...
Posted by iamtheironman on Fri, 04 Mar 2022 13:49:47 +0100
Analysis of the whole process of SpringBoot application accessing Prometheus
Prometheus: Prometheus is an open monitoring solution. Users can easily install and use Prometheus and expand it
The following will implement the whole process of a SpringBoot application accessing Prometheus
1.2 installation
Linux Installation
Download package specified on the official website: https://prometheus.io/download/
Download loca ...
Posted by phpBeginner06 on Fri, 04 Mar 2022 13:27:44 +0100
Specific case of springboot security, implementation of security framework, permission control, aop entry
Specific case of springboot security, implementation of security framework, permission control, aop entry
Introduction to springboot security
Security official Preface
Security is an ever-changing goal, and it is important to pursue a comprehensive and system wide approach. We encourage you to adopt additional layers of security in each area ...
Posted by maxsslade on Fri, 04 Mar 2022 10:34:27 +0100
Mybatis quick start
1. Introduction to mybatis
1.1 original jdbc operation (query data)
1.2 original jdbc operation (insert data)
1.3 analysis of original jdbc operation
The problems existing in the original jdbc development are as follows:
① The frequent creation and release of database connections cause a waste of system resources, which affects the sys ...
Posted by Quicksilver_0 on Fri, 04 Mar 2022 03:49:02 +0100
Kill feign and release spring cloud square components
What is Spring Cloud Square
When talking about Spring Cloud ecology, you must be familiar with Feign. As shown in the figure below, Feign can hide the Rest requests of the underlying (okhttp, httpclient) and pretend to be similar to the Controller of spring MVC. You don't have to splice URLs, splice parameters and other operations by yourself. ...
Posted by cesar_ser on Fri, 04 Mar 2022 02:48:18 +0100
Tips for eliminating if... else
1, Smelly and long if... else
No more nonsense. First look at the following code
publicinterface IPay {
void pay();
}
@Service
publicclass AliaPay implements IPay {
@Override
public void pay() {
System.out.println("===Launch Alipay payment===");
}
}
@Service
publicclass WeixinPay implements IPay { ...
Posted by adrianTNT on Thu, 03 Mar 2022 23:51:17 +0100
Spring Boot two lines of code to easily achieve internationalization
i18n internationalization
In development, Internationalization, also known as localization, means that a website (or application) can support multiple different languages, that is, different words can be displayed according to the language type and country / region of the user. It can make it easy for users in different countries and languages ...
Posted by milind24 on Thu, 03 Mar 2022 22:11:38 +0100
Ali architects share: redis short link generation practice, netizen: can you still have this operation?
background
At present, there are various promotion addresses of products in various circles. Due to the long URL address, unsightly, inconvenient collection, release, dissemination and the limitation of the number of words of various posts, wechat and microblog are using short link technology. Recently, due to the use of three-party generat ...
Posted by TheDeadPool on Thu, 03 Mar 2022 16:51:11 +0100
SpringBoot learning notes 02 - Common annotations and automatic assembly
1. Common spring annotations
1.1 automatic assembly
1.1.1 @Configuration
Since Spring 3.0, it has supported a better Configuration method: the Configuration method based on Java classes. The @ Configuration annotation indicates that this is a Configuration class, and its bottom layer is @ Component (that is, the bean object of this class wil ...
Posted by stephenf33 on Thu, 03 Mar 2022 14:21:25 +0100