SpringBoot from entry to Mastery Series 8: Practice of high concurrency seckill system
Taking the common seckill scenarios on e-commerce websites as an example, SpringBoot integrates Spring MVC, Mybatis, Redis, RabbitMQ and other technologies to realize a high concurrency seckill system.
The system includes commonly used SSM technology, Redis based distributed Session, Redis based data cache, Redis based page cache, RabbitMQ ...
Added by justinede on Wed, 06 Oct 2021 22:35:40 +0300
spring Notes
Spring
Introduction
Boot: conventions are larger than configurations, boot allows rapid development of individual microservices cloud: boot-based
I. IOC
1.1 Control Inversion
IOC Control Reverse
Control: Objects are no longer programmed to new newer, but handed over to spring Reverse: Instead of creating objects, the program itself become ...
Added by hyperyoga on Wed, 06 Oct 2021 20:42:21 +0300
web development in spring boot
spring boot configures spring mvc almost entirely automatically, so it doesn't need to be configured by users at all, but it can also be configured by itself. For example, static resources, content negotiation, attempted parsers, site icons, data binders, welcome pages, and so on, are automatically registered.
1. Static Resources and Access
C ...
Added by mayus on Wed, 06 Oct 2021 19:17:21 +0300
Spring cloud learning - Zuul detailed explanation (with code package)
preface
Previous: detailed explanation of Hystrix Zuul (Gateway) is very important and important in spring cloud. The role of zuul gateway is similar to that of nginx. Nginx can forward requests, and nginx manages the ip address of services. Clients only need to access the port of nginx, and which service to forward and access is forwarded ...
Added by ixos on Wed, 06 Oct 2021 16:40:53 +0300
Resolution of Cross-domain Problems in Springboot (Response to preflight request does't pass access control check)
Solving Cross-domain Problems in Springboot
Can't wait, just jump to the conclusion, thank you!!!
1.background
1.1 Use the technology stack
Spring SecuritySpringbootVue.axiosJwt
1.2 Key Codes
Spring Security implements JWT validation
Configuration class related code
package xyz.yq56.sm.config;
import org.springframework.beans.fact ...
Added by rtconner on Tue, 05 Oct 2021 20:18:15 +0300
SpringBoot -- SpringBoot integrates the Thymeleaf template
catalogue
one Meet Thymeleaf
two Using in SpringBoot
2.1 create a springboot project
2.2 the start dependency of spring boot integration Thymeleaf will be automatically added in the pom.xml file (the rest of the default configuration will be included)
2.3 core configuration file
2.4 write a controller class
t ...
Added by PrinceOfDragons on Mon, 04 Oct 2021 20:28:35 +0300
2021-10-01 MyBatis time type updated to null exception: SQLServerException: implicit conversion from data type varbinary to date is not allowed
Requirements:
Requirement: update a Date type field in the SQL Server library table to null Environmental Science:
SQL Server Version:
Microsoft SQL Server 2016 (SP2-CU17) (KB5001092) - 13.0.5888.11 (X64)
Mar 19 2021 19:41:38
Copyright (c) Microsoft Corporation
Enterprise Edition: Core-based Licensing (64-bit) on Windows Server 2016 Dat ...
Added by perry789 on Sat, 02 Oct 2021 03:15:19 +0300
Partition and dependency inheritance of multiple maven modules in spring boot project
Necessity of multi module division
Usually, a complex large-scale project will be divided into multiple modules. In structured programming, the principle of module division is high cohesion within modules and low coupling between modules
Splitting a complex project into multiple modules is conducive to collaborative development and module reu ...
Added by katlis on Thu, 30 Sep 2021 22:52:17 +0300
Swagger study notes
Swagger study notes
Look, the crazy God said video
Introduction to swagger
Front and rear end separation
vue+springboot
Back end: back end control layer, service layer and data access layer
Front end: front end control layer, view layer
Fake backend data json already exists. Without a backend, front-end engineering can still runHow the f ...
Added by tommynanda on Thu, 30 Sep 2021 00:26:07 +0300
In spring boot yaml format, the eureka client configures the default zone and reports an error
This article is an original article of Joshua 317. Please note: reprinted from Joshua 317 blog In spring boot yaml format, the eureka client configures the default zone and reports errors - Joshua 317's blog
1, Question
When configuring eureka client, set the simple configuration of eureka client as follows:
server:
port: 8081
error:
...
Added by JonathanS on Wed, 29 Sep 2021 21:55:58 +0300