Eureka cluster deployment and pit stepping records (attention, attention!!!)

1, Eureka cluster deployment It is recommended to deploy in strict accordance with the steps first, otherwise it is easy to cause problems. The possible problems will be described below 1. Create a maven project, pom example is as follows <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" ...

Posted by kingman65 on Wed, 22 Dec 2021 01:40:50 +0100

Easy implementation of distributed single-point timing tasks using Nacos

background Timing tasks need to be handled in the project, and our applications will be published and run on multiple servers. In order to avoid concurrent processing leading to dirty data, we usually introduce distributed scheduling systems such as Elastic-Job or xxl-Job to process. But this requires a new system to be built, and if it's just ...

Posted by evaoparah on Wed, 22 Dec 2021 00:49:29 +0100

Quick start RabbitMQ

1.MQ introduction 1.1 what is MQ MQ (message queue): translated into message queue. Through the typical producer and consumer model, producers continuously produce messages to the message queue, and consumers continuously obtain messages from the queue. Because the production and consumption of messages are asynchronous, and only care abo ...

Posted by mverrier on Tue, 21 Dec 2021 23:39:59 +0100

How to deploy a project with Docker Compose?

[TOC]prefacePreviously, we deployed springboot, redis and mysql projects with docker, but they are deployed in three different containers. We also need to know the ip addresses of redis and mysql and manually configure them into the springboot application container. I just want to test them locally quickly. This cost is too high. Is there any w ...

Posted by phamenoth on Tue, 21 Dec 2021 22:33:29 +0100

Practice of separating project development from 0 to 1

Front and rear end separation project development preface Front end separation means that the front-end code and back-end code of an application are written separately. Why? What are the problems if the front and rear end separation is not used? In traditional java web development, the front end uses JSP and the back end uses servlet. ...

Posted by Kazlaaz on Tue, 21 Dec 2021 19:34:31 +0100

Common condition annotation

Common condition annotation @ Conditional annotation in spring Basically, all extended class conditional annotations are extended based on this annotation. This annotation is from spring 4 Use after 0. It is generally used to limit whether the configuration class is effective or whether a bean needs injection. @Definition of Conditional //T ...

Posted by parboy on Tue, 21 Dec 2021 19:22:55 +0100

Detailed integration of SpringBoot and mybatis plus and the most commonly used practical tutorials (get started quickly)

preface Mybatis plus (MP for short) is an enhanced tool for Mybatis to simplify development and improve efficiency. Mybatis has all of them. It is based on Mybatis: it only makes enhancements without changes, and has powerful functions and is very easy to use (strongly recommended) This tutorial will try to simulate the use of real developm ...

Posted by cshinteractive on Tue, 21 Dec 2021 03:13:16 +0100

Vue+SpringBoot to upload user avatars (with front-end source code)

1, Background The background system generally has a module for users' personal information (see the figure below). In order to enhance users' experience, the system will open the function of custom avatar, so that users can upload custom images to replace the default system avatar. This paper will be implemented through Vue+SpringBoot. 2 ...

Posted by sh0tgun on Tue, 21 Dec 2021 01:25:17 +0100

Best practices for spring boot profiles, privacy data desensitization!

The company is investigating the internal data account leakage these days. The reason is that it is found that some interns xiaocute secretly transmitted the source code to GitHub with their account and password, resulting in the leakage of core data. The children still haven't been severely beaten by the society. The consequences of this can b ...

Posted by ranjita on Tue, 21 Dec 2021 00:57:07 +0100

Comparison of some details between SSM and SpringBoot

Comparison between SSM and SpringBoot I Alias entity class bean s Mybatis Use the < typealiases > label in the configuration filespring Use the < alias > tag in the configuration file or the < name > attribute in bean notesspringboot ①application.yml mybatis: type-aliases-package: com.lidice.** ② Annotation //Add on en ...

Posted by dahwan on Mon, 20 Dec 2021 22:36:28 +0100