Detailed explanation of Java logging framework
Log frame
Basic concepts of log
Log: in the computer field, a log file is a file that records events that occur in the running operating system or other software, or records messages sent between users of network chat software.
Logging: refers to the behavior of saving logs. The simplest way is to write the logs to a single log file.
Lo ...
Added by charlestide on Sat, 18 Dec 2021 15:15:01 +0200
Run projects in the IDEA in the local docker?
[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 ...
Added by Kaboom on Sat, 18 Dec 2021 14:06:55 +0200
SpringBoot practice: elegant use of enumeration parameters in RequestBody (principle)
This picture was created by Johnnys_pic stay Pixabay Publish on
Hello, I'm looking at the mountain.
stay Elegant use of enumeration parameters (principle) As we talked in, Spring uses different processing classes to process parameters for different parameter forms. This form is somewhat similar to the policy pattern. Split the processi ...
Added by robinjohn on Fri, 17 Dec 2021 08:33:15 +0200
Task (springboot learning 14)
Asynchronous taskTimed taskMail sending (commonly used, springboot official)
1, Asynchronous task
1. Create a springboot project and check the web launcher dependency
2. Create a new business
However, the data processing thread will sleep for 3 seconds, and the page will not be displayed during sleep
@Service//Business hosted by spring
publ ...
Added by brucemalti on Fri, 17 Dec 2021 08:19:41 +0200
❤️ After this springboot project, I'm familiar with boot! [source code + video are open source] [strongly recommended to collect] ❤️
Last time I shared a springboot+vue campus recruitment system, video tutorials and project source code. They are all open source and should be said to be very fragrant. Today I'll share a good springboot project.
Old rules, open source, open source, open source!!!
Here comes the golden nine and silver ten, boys, rush! Many interview quest ...
Added by niall_buckley on Fri, 17 Dec 2021 07:01:48 +0200
Spring boot notes -- boot outer layer and interface test
[the external link image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (IMG nhecelxt-163966357156) (D: \ 2021 \ MD \ springboot \ img \ springboot introduction. png)]
[the external chain picture transfer fails. The source station may have an anti-theft chai ...
Added by aiwebs on Thu, 16 Dec 2021 18:20:39 +0200
Establishment and use of sentinel mode of redis high availability cluster
1, Briefly talk about the redis sentinel sentinel mode
1. Make the redis cluster more robust and highly available. Compared with redis cluster, it can automatically failover and automatically transform the master 2. Its workflow is that Sentinel will constantly check whether your master server and slave server are operating normally. If there ...
Added by jamesmage on Wed, 15 Dec 2021 16:57:54 +0200
Kill the collection field composed of attribute ID in POJO
Use SpringConverter to optimize the association between Ids and Ids
We will encounter this problem during project development. List ingredients; List ingredients; It is also a collection of principles. One back-end likes it and the other front-end likes it. These two are often written in a POJO. According to the relationship of objects, we ...
Added by itguysam on Wed, 15 Dec 2021 10:39:43 +0200
Several implementation methods of using WebSocket in Spring Boot - detailed explanation
brief introduction
The so-called WebSocket is similar to Socket. Its function is to enable the client and server in Web applications to establish full duplex communication. There are three ways to use WebSocket in Spring based applications:
Implemented using @ ServerEndpoint annotation provided by JavaIt is implemented using the low-level Web ...
Added by rami on Tue, 14 Dec 2021 21:52:07 +0200
Classmate, your multi-source transaction has failed
1, IntroductionSpeaking of multiple data sources, they are generally used in the following two scenarios:First, the business is special, and multiple libraries need to be connected. Class representatives once migrated new and old systems from SQL server to MySQL, involving some business operations. Common data extraction tools can not meet busi ...
Added by sdat1333 on Tue, 14 Dec 2021 15:48:58 +0200