The deepest analysis of spring boot MVC automatic configuration failure in the whole network
preface
I didn't plan to write this article, but after reading the core principles of SpringBoot, I suddenly thought of the MVC automatic failure problem encountered in the previous development. Although there are many articles and official documents on the Internet explaining the reasons, I still want to have a look at it in person. What I tho ...
Posted by pr0x on Mon, 29 Jun 2020 21:05:23 -0700
This time, understand the core principles of spring boot (automatic configuration, event driven, Condition)
@
catalog
preface
text
Starting principle
event driven
Auto configuration principle
Condition annotation principle
summary
preface
Spring boot is the packaging of spring. Through automatic configuration, spring boot can be used out of the box with very low starting cost. However, the cost of learning its implementation principle is grea ...
Posted by mvidberg on Thu, 25 Jun 2020 23:47:45 -0700
Skillfully use RabbitMQ and integrate Spring AMQP
1. Introduction to rabbitadmin
rely on
<dependency>
<groupId>com.rabbitmq</groupId>
<artifactId>amqp-client</artifactId>
<version>3.6.5</version>
</dependency>
<!--Rabbit SpringBoot-->
<dependency>
...
Posted by RyanDev on Thu, 25 Jun 2020 02:31:54 -0700
Spring cloud Feign + Hystrix principle
Principle of Spring cloud Feign + Hystrix (I)
Netflix Hystrix has stopped updating and is currently in maintenance status. In spring cloud, the call to the service is usually completed with feign. If you want to use hystrix as the fuse at the same time, you only need to configure as follows (provided ...
Posted by Silver_Eclipse on Thu, 25 Jun 2020 00:49:03 -0700
Problems encountered in SpringBoot 2.3.5 Integrating redis cache custom JSON serialization.
Currently, I am learning springboot from teacher Lei Fengyang in Silicon Valley.
The springboot version used in the teacher's course is 1.5, while I use 2.3.5.
The difference between the 2.x and 1.x versions of springboot is quite significant, with many of the underlying code changed and quite a bit cha ...
Posted by rantsh on Wed, 24 Jun 2020 18:31:20 -0700
Benefits coming: spring boot learning notes: spring boot integrates RabbMQ, you are sure you don't want to take a look~~~
1, Introduction to RabbitMQ
RabbitMQ is a kind of message middleware, which is the basic software for sending and receiving messages in the distributed system. There are many of these software, including ActiveMQ (from Apache Company) and rocketmq (from Alibaba company, which has now been transferr ...
Posted by Jim02 on Sat, 20 Jun 2020 02:33:34 -0700
Spring Boot: elegant use of the API documentation tool Swagger2
introduction
You must have been tortured by interface documents in the development process. Due to the lightweight and low coupling of RESTful interface, we did not update the documents in time after modifying the interface, resulting in frequent complaints from the interface callers (both front-end a ...
Posted by pk99 on Thu, 18 Jun 2020 18:55:13 -0700
Spring Boot: Spring Boot integrates RabbitMQ
preface
RabbitMQ is a message queue. When it comes to message queues, you may have heard of it more or less. Its main function is to realize asynchronous and decoupling of application services, as well as to cut peak, fill valley and distribute messages.
One of the main functions of message queuing in ...
Posted by .Stealth on Wed, 17 Jun 2020 19:10:40 -0700
Docker image SpringBoot Jar package
Docker image SpringBoot Jar package
Preface
Pack Project
Making Docker Mirrors
View and run Docker images
Access Interface
Preface
Let's start with a general process. I'm building a project with SpringBoot, typing it directly into a Jar package, running on port 8082 on Linux, and changing the na ...
Posted by fsumba on Wed, 17 Jun 2020 09:41:31 -0700
Practical tutorial of using JWT token in OAuth2.0 series
Practical tutorial of using JWT token in OAuth2.0 series (8)
1. Introduction to the preface
2. Example experiment verification
3. Simple function test
OAuth2.0 blog series:
Basic concepts and operation process of OAuth2.0 series (1)
OAuth 2.0 series authorization code mode practice tutorial (2)
O ...
Posted by jstarkey on Wed, 17 Jun 2020 00:18:06 -0700