Integrated use of SpringBoot RabbitMQ
premise
Last time I wrote an article, Integrated Use of SpringBoot Kafka And read a lot, so think about integrating several other MQ s with SpringBoot.
Here are four popular MQ s:
Write an integrated article with SpringBoot later.
Install RabbitMQ
Some environments are built directly in Mac because of a Mac change, but installing Rabbi ...
Posted by eva21 on Wed, 31 Jul 2019 20:57:52 +0200
Principle of Springboot Automatic Assembly
What can the Springboot configuration file write? How do you write it? Principle of Automatic Configuration
Property references that configuration files can configure
Principle of Automatic Configuration
Spring Boot loads the main configuration class at startup, opening the automatic configuration ...
Posted by smiley_kool on Wed, 31 Jul 2019 19:32:58 +0200
Springboot 2.0 Maven uploads files to remote servers
Undertake previous blog posts ” springboot maven+layui upload file“ The file is uploaded to the remote server and returned to the file server storage path and file size needed to store the database.
pom.xml dependencies
<dependency>
<groupId>org.apache.commons</groupI ...
Posted by phanh on Tue, 30 Jul 2019 23:07:16 +0200
Y Services - Do you really know Yaml?
In the Java world, configurations are left to Properties, a module that dates back to the old JDK1.0.
"My God, it was 20 years ago and I was still using it Properties.."
However, the main character of this article is not Properties, but Yaml.This is a favorite of the microservice architecture in the new era, and Yaml seems a bit wet compare ...
Posted by shahansudu on Fri, 26 Jul 2019 21:12:32 +0200
ajax sends cross-domain requests to the backend springboot's controller to carry COOKIE across domains to handle ajax cross-domain error problems.
Cause
Two days of research on springboot, because I just came into contact with springboot, I encountered a lot of problems. First of all, this springboot I built here is no web.xml configuration file, so when I set up the filter, I don't know where to set it up, resulting in a bunch of filter solution ...
Posted by cmzone on Fri, 26 Jul 2019 05:27:42 +0200
SpringBoot 2.0 image upload plus echo
These two days, the company needs to make a business registration background function, which requires businesses to upload a number of pictures and echo. Since I haven't done anything in this area before, this article is used to record some knowledge points for subsequent review.
upload
Controller's code is very simple, because it uses the Spri ...
Posted by Peter on Fri, 19 Jul 2019 11:48:24 +0200
Springboot MyBatis Multiple Data Source Switching
Springboot MyBatis Multiple Data Source Switching
In practical development, we may use multiple databases for a project, usually one database for a data source.In this example, switch between multiple data sources in two ways 1) Manual switch 2) Switch using annotations
Code structure:
Brief Principle:
1) DataSourceType lists the key-key ...
Posted by fuii_koh on Thu, 11 Jul 2019 19:22:43 +0200
javaweb service-side cross-domain support
In order to support the direct request of web browser ajax, project development involves cross-domain requirements. Through learning, we have a more in-depth understanding of cross-domain. Now let's sum up:
1. Cross-domain description
Cross-domain refers to the inconsistency between the domain of requests and services, the impact of browsers an ...
Posted by Marqis on Mon, 17 Jun 2019 21:15:02 +0200
[SpringBoot] 2. Quickly build a SpringBoot application
In our last blog, we introduced the concept of SpringBoot. Here we experience the features of SpringBoot by quickly building a SpringBoot application.
1. Creating Engineering
First we open MyEclipse and create a Maven project:
Then we choose the Creation Mode, where we choose not to need the skeleton:
Finally, fill in the relevant parameter ...
Posted by andreas on Tue, 04 Jun 2019 22:42:53 +0200
Analysis of Exception Error Handling Mechanism in Springboot Series Spring Boot web Development
Preface
I'm sure you'll often encounter this page when you first start experiencing Springboot, which is the default return page to a page that doesn't exist.
Spring Boot Default Error Page
If it is a request from another client, such as an interface test tool, the JSON data is returned by default.
{
"timestamp":"20 ...
Posted by JsF on Sat, 18 May 2019 06:24:11 +0200