Spring boot is compatible with both stand-alone and cluster configurations. I won't say it to ordinary people

preface Most web development data are stored in the database, but with the increase of data, our interface will be very slow. At this time, we will introduce redis to cache data that will not change frequently, so as to achieve the effect of fast data response stand-alone In spring, redis is introduced to configure the link factory of redis. ...

Posted by tymlls05 on Wed, 13 Oct 2021 06:40:54 -0700

Close to Enterprise Programming! springboot project integration swagger

Preface Finally!! In this semester's course, start to touch on how to do effective team development!!!! Finally, I can face up to the problems that have been bothering me all the time. How to communicate among people with different roles in team work has always been a big problem!! Communication leads to redundant data, and the problem of ...

Posted by dayo on Tue, 12 Oct 2021 09:53:31 -0700

Integrate springmvc + shiro + mybatis + Thymeleaf background management source code sharing

Based on SpringBoot, the goal is to realize the company's background management and some automatic office. At this stage, common frameworks such as springmvc + shiro + mybatis + Thymeleaf are integrated, including user management, department management, notification management, log management, notes, role management, menu configuration, leave, ...

Posted by jfourman on Mon, 11 Oct 2021 22:13:53 -0700

SpringBoot day 21 - Dao integrates MybatisPlus

SpringBoot - Dao integrates MybatisPlus In this section, learn how to integrate MybatisPlus with SpringBoot. 1. Introduction to mybatisplus MyBatis plus (MP for short) is an enhancement tool for MyBatis. On the basis of MyBatis, it only makes enhancements and does not change. It is born to simplify development and improve efficiency. Myba ...

Posted by sgalatas on Mon, 11 Oct 2021 19:07:13 -0700

Institute of technology 003 - six ways to teach you to do something during SpringBoot initialization!

preface In practice, you always need to do some initialization operations when the project starts, such as initializing the thread pool, loading the encryption certificate in advance So here comes the classic question, which is often asked by interviewers: what are the means to do something when the Spring Boot project starts? There are many ...

Posted by thestars on Mon, 11 Oct 2021 16:01:16 -0700

[Java] exception handling and error page assignment of SpringBoot

part error and exception handling mechanism 1, Errors and exceptions Error Exception Error is often something that cannot be handled by the program (an error introduced by the user or a system error) Exception is caused by the programmer and can be handled in the program. try catch / throws Excellent handling mechanism Question: how to deal ...

Posted by HairyScotsman on Sun, 10 Oct 2021 03:40:47 -0700

❤ Micro service development Swagger (recommended Collection)

Swagger 1. The role and concept of Swagger Official address: https://swagger.io/ Swagger is a standardized and complete framework for generating, describing, invoking and visualizing RESTful Web services and integrating swagger to automatically generate API documents. Swagger's goal is to define a standard and language independent int ...

Posted by jeremyphphaven on Sat, 09 Oct 2021 18:38:57 -0700

What are Spring Profiles and how to use them

[copyright notice] for non-commercial purposes, indicate the source and can be reproduced freely From: shusheng007 summary When you first came into contact with SpringBoot, did you feel a little uncomfortable with the Profile it provided? After groping, you realized its power. Today, I will summarize the Profile and keep it as an Intern ...

Posted by d-woo on Wed, 06 Oct 2021 23:56:03 -0700

Kafka growth 3: principle of metadata pull source code of Producer

In the previous section, we analyzed the core components of Producer and obtained a key component diagram. Do you remember? To sum up, the above figure is: The Metadata component is created, and the Metadata is maintained internally through the Cluster The memory buffer RecordAccumulator that sent the message was initialized The Network ...

Posted by junkie_doodle on Wed, 06 Oct 2021 19:33:15 -0700

I was asked about the principle of Springboot automatic assembly during the interview. I'm sorry, hold it!!! No loss in collection

springboot version 2.5.5 Debug Roadmap Many words are tears. Let's look at the picture. Let's start with run After using Springboot for so many years, what has this run() method done? @SpringBootApplication public class SpringbootDemoApplication { public static void main(String[] args) { SpringApplication.run(SpringbootD ...

Posted by EdN on Wed, 06 Oct 2021 12:53:48 -0700