(springboot+vue) the back end uses the ID value from the front end of vue to play specific videos
Synopsis: when performing the video playback function, I want to use axios to transmit id to the back end to play the corresponding video (my video exists locally, and it should be similar if I use a server.)
The first step is to obtain and display all the video information stored in the database, that is, write a findAllVideo interface to ...
Added by jbatty on Tue, 14 Dec 2021 07:03:05 +0200
Design of Spring Cache for Java distributed microservice cloud development architecture Spring Cloud+Spring Boot+Mybatis+ElementUI front end and back end separation
Recently, in charge of the architecture of educational products, two R & D students suggested: "can the Redis client encapsulated by the team adapt to Spring Cache, so it will be much more convenient to add cache". Friends who need the framework source code can see my personal profile and contact me, Recommended distributed archit ...
Added by shawngibson on Tue, 14 Dec 2021 03:47:57 +0200
SpringBoot learning 03: understanding the principle of automatic assembly
1. SpringBoot features
1.1. Dependency management
Dependency management for parent project Dependency management
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.4.RELEASE</version>
</parent>
His paren ...
Added by essjay_d12 on Tue, 14 Dec 2021 03:32:01 +0200
Spring Cloud Alibaba service flow limiting downgrade Sentinel
Sentinel overview
Sentinel: traffic guard of distributed system
Sentinel takes traffic as the starting point to protect the stability of services from multiple dimensions such as traffic control, fuse degradation and system load protection.
Sentinel is divided into two parts:
Core library( Java Client) does not depend on any framework/L ...
Added by JohnnyLearningPHP on Mon, 13 Dec 2021 03:21:46 +0200
Vulnerability Replication under SpringBoot with log4j integration
1. Summary of prospects
Log4j's epic bug has been buzzing these days, and I want to explore how it was triggered.
2. Build a SpringBoot project that integrates Log4j
Create a springboot project and make a modification to the pom file according to the guidelines of the spring website
<dependencies>
<dependency>
...
Added by Shiki on Sun, 12 Dec 2021 20:04:00 +0200
springboot -- connecting to mysql database
1. Preparation
Build a simple database called springboot_db and create a table under it named t_author, the script is as follows: CREATE DATABASE /*!32312 IF NOT EXISTS*/`springboot_db` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `springboot_db`;
DROP TABLE IF EXISTS `t_author`;
CREATE TABLE `t_author` (
`id` bigint(20) unsigned NOT N ...
Added by aprieto on Sun, 12 Dec 2021 13:36:01 +0200
Detailed explanation of the past and present life of Spring Boot and its relationship with Spring Cloud
To understand the development background of Spring Boot, you have to start from Spring Framework 1.0 in 2004 We started with the release of version 0, but we all used the Spring Framework from the beginning of learning Java, so we don't expand too much.
With more and more enterprises and individuals using the Spring Framework for development, ...
Added by Phpdiot on Sun, 12 Dec 2021 09:50:12 +0200
spring boot shiro+session+redis realizes login session, session retention and distributed session sharing
reference resources: Shiro Springboot cluster shared Session (Redis) + single user login
https://zhuanlan.zhihu.com/p/54176956
Frame construction
1. Basic environment
jdk8 maven lombok spring boot 2.5.7
2. Import shiro maven coordinates
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-sprin ...
Added by Getran on Sat, 11 Dec 2021 15:11:59 +0200
Spring boot custom control layer parameter parsing
1, BackgroundIn the Spring Controller, we can map the parameters in the request to the specific parameters of the control layer through @ RequestParam or @ RequestBody. How is this implemented? If the value of a parameter in the control layer comes from Redis, how should I implement it?2, How are parameters resolvedAs can be seen from the figur ...
Added by patrickcurl on Sat, 11 Dec 2021 13:42:11 +0200
Interface architecture style - RESTful
Interface architecture style - RESTful
The interface here refers to API (application program interface)
API (Application Programming Interface) refers to some pre-defined interfaces (such as functions and HTTP interfaces) or conventions for the connection of different components of the software system. It is used to provide a set of routin ...
Added by ryza_ on Sat, 11 Dec 2021 12:17:25 +0200