Recent learning

1.SpringBoot What is SpringBoot Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications n ...

Posted by 244863 on Tue, 25 Feb 2020 23:51:06 -0800

Spring boot2. X basic chapter: take you to know about scanning Package automatic registration Bean

Knowledge changes fate, rolling code makes me happy, and I will continue to swim in the open source industry in 2020 < br / > Take a look at what you like and get into the habit < br / > Give me a Star, Click to learn about the implementation solution of component-based interface service based on spring boot We have been using Sp ...

Posted by lazytiger on Tue, 25 Feb 2020 00:54:47 -0800

Breakthrough CRUD universal tree tool class encapsulation

0. You may be able to gain after learning this article Experience the process of gradual optimization and perfection of a tree tool from the beginning Design and implementation of tree tool package Finally, we get a ready to use tree tool source code Students who have some knowledge and use of the front-end tree components can dir ...

Posted by ale8oneboy on Fri, 21 Feb 2020 02:26:49 -0800

How do I increase the concurrency of spring boot projects by ten times

Yun Qi Hao: https://yqh.aliyun.comThe first-hand cloud information, the selected cloud enterprise case base of different industries, and the best practices extracted from many successful cases help you to make cloud decision! background Occasionally, there are some slow requests in the production environment, resulting in system performance de ...

Posted by tomhoad on Thu, 20 Feb 2020 03:13:33 -0800

Lightweight RPC Design and Implementation 4th Edition

SPI mechanisms have been introduced in this release, as described in previous articles on Java and Dubbo. Port: The Difference and Principle Analysis between SPI Mechanism and JDK Mechanism of Dubbo Because RPC frameworks are designed based on Spring, dependency injection issues are frequently encountered.There is also a SPI mechanism in Spring ...

Posted by Snatch on Wed, 19 Feb 2020 10:50:16 -0800

Spring boot integrates WEB Development -- start task system

Introduction: There are some special tasks that need to be performed when the system starts, such as the loading of configuration files, database initialization and other operations. If spring boot is not used, these problems can be solved in the Listener. Spring boot provides two solutions: CommandLineRunner and ApplicationRunner. The two diff ...

Posted by LucienFB on Wed, 19 Feb 2020 06:36:46 -0800

2. Monitor mode

When you click Download Sources in the IDEA, you will get an error and cannot download sources. To solve this problem, enter in Terminal mvn dependency:resolve -Dclassifier=sources Reference: https://www.cnblogs.com/wwjj4811/p/10364580.html When the system runs to some key nodes, it will broadcast some events, and there are some listeners in ...

Posted by Develop_Sake on Sun, 16 Feb 2020 22:43:36 -0800

Getting started with Spring Boot, configuration, and logging

Spring Boot benefits Fast creation of stand-alone Spring projects and integration with mainstream frameworks Using the embedded Servlet container, the application does not need to be a WAR package starters auto dependency and version control A large number of automatic configuration, simplified devel ...

Posted by LeslieHart on Sat, 15 Feb 2020 02:05:02 -0800

ActiveMQ in message middleware: spring boot integrates ActiveMQ

Less nonsense, more dry goods: integration Create an initialization project for springboot Slightly (this can be done) pom.xml is introduced as follows: Note: I use 5.15.11 here, so the imported package should also be the latest 5.15.11 <dependency> <groupId>org.sprin ...

Posted by miltonos on Wed, 12 Feb 2020 07:37:00 -0800

Prometheus + Grafana monitoring SpringBoot

Overall structure Spring boot's actor provides the monitoring endpoint. Prometheus is a monitoring system, which can obtain monitoring data from spring boot, store it in the form of time series data, and provide query service for monitoring data. Grafana is a professional UI dashboard system, which supports a lot of data sources, including Prom ...

Posted by elearnindia on Sun, 09 Feb 2020 23:22:47 -0800