Spring cloud Alibaba II. Spring boot configuration uses nacos as the registry, and calls and tests with resttemplate and RPC tools
Premise of use
Building nacos environment: https://blog.csdn.net/qq_41463655/article/details/104002968
RPC tool RestTemplate: https://blog.csdn.net/qq_41463655/article/details/103431953
The simulation environment of this paper is as follows:
1, Create the spring boot project Alibaba server (version ...
Added by FortMyersDrew on Sat, 18 Jan 2020 18:03:30 +0200
How do I do spring boot auto configuration principle analysis
Preface
According to the analysis of springboot version 2.0.0, the overall automatic configuration process is as follows:
Refer to official documents for specific configuration: springboot-doc
Two @ SpringBootApplication
The core annotation @ SpringBootConfiguration is actually the @ Configurati ...
Added by Trium918 on Wed, 15 Jan 2020 12:26:23 +0200
The query results of ElasticSearch implemented by jet under SpringBoot are written directly to entity objects
Previous post: Using Jest to implement multi condition query of ElasticSearch under SpringBoot One of the ways to use Jest to get the data in ElasticSearch is to transform it into JsonObject and then parse it to get the field information you want and put it into the entity object. Although this metho ...
Added by Griffin on Tue, 14 Jan 2020 12:00:54 +0200
[introduction] QQ chat robot - HelloWorld
After reading this blog, you will be able to
qq message second speed 99+
Build cloud environment (or virtual machine) and deploy qq robot
Using springboot to write a simple hello world for your artificial mental retardation
inspiration source
Viagra's blog
Be based on Cool Q A plug-in for coolq-h ...
Added by Orkan on Sat, 11 Jan 2020 16:50:31 +0200
[Springboot] annotation @ ConfigurationProperties makes configuration neat and simple
1 Introduction
Let's use an article earlier< [Spring] just want to record the use of @ Value in one article, and don't want to find any more (with mind map attached)>
It explains in detail how to use @ Value in Spring to meet our configuration requirements. It is powerful and easy to use. But it also has its limitations. For example, for ...
Added by eashton123 on Sat, 11 Jan 2020 14:37:49 +0200
SpringBoot Series Tutorial Mybatis+Annotations Integration
SpringBoot Series Tutorial Mybatis+Annotations Integration
The previous blog post described SpringBoot's process of integrating mybatis, but the way xml works always feels a bit frustrating; this article introduces a noxml usage posture that supports CURD purely with annotations
<!-- more -->
I. Environment
This article uses SpringBoot ...
Added by shiny_spoon on Tue, 07 Jan 2020 05:47:25 +0200
Use of AOP in Springboot
Aspect Oriented Programming (Aspect Oriented Programming) is the product of the development of software programming ideas to a certain stage, and is a useful complement to object-oriented programming.AOP is generally used in situations with crosscutting logic, such as access control, transaction management, performance detection, and so on.
Log ...
Added by SephirGaine on Thu, 26 Dec 2019 06:46:34 +0200
Using activiti in the Spring Boot project
Check activiti when creating a new springBoot project, or add the following dependencies to an established springBoot project:
<dependency>
<groupId>org.activiti</groupId>
<artifactId>activiti-spring-boot-starter-basic</artifactId>
<version>6.0.0</version>
</dependency>
Data source and ...
Added by mortimerdude on Sat, 21 Dec 2019 10:44:20 +0200
springboot series four profile s multi environment configuration
Some configuration parameters during development and after going online are not available, such as database connection, SMS verification, etc
springboot provides us with a way to differentiate environment configuration
Different environment configurations for the same profile
Three bars can be used in the same configuration file application.yml ...
Added by Assorro on Sun, 08 Dec 2019 11:10:02 +0200
Spring boot: let me show you the principle of automatic assembly
Preface
Spring is translated into Chinese as "spring". Indeed, in a certain period of time, it has brought spring to Java developers. However, with the expansion of our project scale, there are more and more places where spring needs to be configured. To exaggerate, "configuration takes two hours, Coding takes five minutes". ...
Added by rawisjp on Sat, 07 Dec 2019 08:32:54 +0200