Find out in 10 minutes How does SpringBoot gracefully read configuration files?
This article is and is included in the springboot-guide (not just SpringBoot but also Spring Key Knowledge Points), address: https://github.com/Snailclimb/springboot-guide .Make it easier for you to learn Spring!If you feel good, welcome to a Star!
Many times we need to put some commonly used configuration information such as Aliyun oss confi ...
Posted by vincent30000 on Sat, 08 Feb 2020 19:56:20 -0800
MongoDB series -- Aggregate pipeline operation in SpringBoot
MongoDB pipeline definition
The aggregation pipeline of MongoDB will pass the results of MongoDB documents to the next pipeline after one pipeline is processed. Pipeline operations are repeatable.
Common Aggregate pipeline operators of Aggregate in SpringBoot
Customize the collection userCollection and initialize the data structure
Store bean u ...
Posted by adnan856 on Wed, 05 Feb 2020 07:50:14 -0800
RabbitMQ learn the basic knowledge of three message queues
1, Basic knowledge
(1) Provider
Message producer is the procedure of message delivery.
(2) Consumer
Message consumers are message receiving programs
(3) Messaging when message queuing is not used
(4) Message passing method after using message queue
(5) What is message queuing
A queue is like a warehouse ...
Posted by corporateboy on Wed, 05 Feb 2020 05:46:48 -0800
Spring Boot: web application development and CRUD implementation
1, Developing web applications
Spring Boot Web development is very simple, including common json output, filters, property, log, etc
2, json interface development
In the past, when using spring to develop projects, what needs to be done when you need to provide json interfaces?
1. Add related jar packages such as jackjson
2. Configure spri ...
Posted by Mikedean on Tue, 04 Feb 2020 23:11:06 -0800
Transaction Delivery Properties for SpringBoot Series Tutorials
Transaction Delivery Properties for the 200202-SpringBoot series of tutorials
For mysql, there may be several main points of knowledge about transactions at the isolation level; in the Spring system, there is also a transfer property of knowledge point transactions that is equally important when using transactions. This article will focus on ...
Posted by andy666 on Sun, 02 Feb 2020 20:01:59 -0800
EurekaServer startup error solution
The latest version of Spring Cloud Finchley.M9 is used. When starting EurekaService, the system will report an error after starting. The prompt is as follows:
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.cloud.netflix.eureka.serve ...
Posted by mdannatt on Sun, 02 Feb 2020 09:15:45 -0800
Spring Boot
If you want speed, you will not reach it. If you want speed, you will reach it!
hello, hello, I've met you again. Today is February 1, 2020. On the eighth day of the lunar new year, the Spring Festival will soon be over. The new type of coronavirus pneumonia has become the theme of the Spring Festival in 2020. I'm in awe of life. I hope I can ...
Posted by llcoollasa on Sat, 01 Feb 2020 03:56:20 -0800
Redis Cultivation - cardinality statistics: HyperLogLog
There is no end to learning.
brief introduction
HyperLogLog is an advanced data structure in Redis. It is mainly used for cardinal Statistics (de duplication Statistics) of massive data (2 ^ 64 data can be counted). It is characterized by high speed and small space (12KB). But there are errors in th ...
Posted by scavok on Sat, 01 Feb 2020 00:06:32 -0800
The @ transactional annotation does not take effect after the Spring boot atomikos is configured
1, When using things in springBoot, it is found that the transaction is not executed normally and is not rolled back:
@GetMapping("/addincome/1")
@Transactional
public String addIncome1(@RequestParam("name") String name, @RequestParam("amount") double amount) {
try {
User user = new User();
...
Posted by FireDrake on Fri, 31 Jan 2020 00:10:12 -0800
Spring 5 Learning Series 3 register components 3 @ Conditional and @ Import annotation usage
The previous article mainly introduced two methods of @ bean @ ComponentScan package scanning injection. Today, I will introduce the related usage of @ Conditional injection and @ import component import
1. First, the usage of @ Conditional: judge according to certain conditions, register the beans ...
Posted by gkelley091565 on Thu, 30 Jan 2020 00:32:38 -0800