Operation principle of SpringBoot
Operation principle of SpringBoot
Since I wrote the first SpringBoot program, I have touched the fish for a few days. Now I come back to study the operation principle of SpringBoot!
1. Dependent file pom
Previously, SpringBoot created a Maven project, so the corresponding configuration file pom.xml must contain all the dependencies required ...
Posted by DEVILofDARKNESS on Sat, 18 Sep 2021 06:07:19 +0200
Introduction to SpringBoot - > (personal learning notes)
1. Getting started
1.1 import dependency
All springboot projects must inherit spring boot starter parent
<!-- All springboot All projects must be inherited spring-boot-starter-parent -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
...
Posted by zander213 on Sat, 18 Sep 2021 04:08:53 +0200
RabbitMQ Core Knowledge Summary!
This article has been included in the github repository, which is used to share Java related knowledge summary, including Java basics, MySQL, Spring Boot, MyBatis, Redis, RabbitMQ, computer network, data structure and algorithms, etc. Welcome to pr and star!
GitHub address:https://github.com/Tyson0314/Java-learning
If github is not accessib ...
Posted by keigowei on Tue, 14 Sep 2021 21:18:08 +0200
Some knowledge points of Spring framework
1. What is sprig
Spring is an open source framework., It was created by Rod Johson. It was created to understand the complexities that determine enterprise development
Spring uses basic JavaBeans to do things that previously could only be done by EJB s.
However, the use of Spring is not limited to server-side development. From the perspectiv ...
Posted by thatshanekid on Tue, 14 Sep 2021 04:11:16 +0200
step05 day01 learning notes springcloud practice
1. Introduction to springcloud
1.1 INTRODUCTION
spring cloud is a collection of frameworks. Taking advantage of the development convenience of spring boot, it cleverly simplifies the development of distributed system infrastructure, such as service discovery and registration, configuration center, message bus, load balancing, circuit breaker, ...
Posted by lexx on Fri, 10 Sep 2021 20:43:12 +0200
Original SpringBoot practice: how to use Optional
Optional is also one of the new features of Java 8. It is used to handle the null pointer problem and can be used gracefully in the return and processing of the application query interface Impl. The official definition is:
The Optional class is a null able container object. If the value exists, the isPresent() method will return true, and c ...
Posted by wanted420 on Wed, 08 Sep 2021 11:41:30 +0200
Configuring MyBatis with multiple data sources
Twenty eight good people are like crisp people. They cut fools with swords at their waist. Although I don't see my head falling, I secretly teach you that your bone marrow is withered.
The previous chapter briefly introduced the multi data source configuration Jpa(16). If you haven't seen it, Please watch the previous chapter
In the work, i ...
Posted by freddykhalid on Tue, 07 Sep 2021 23:30:34 +0200
Use of log framework
Log frame
Common log frames
JUL, JCL, Jboss-logging, logback, log4j, log4j2, slf4j...
Log facade (abstract layer of log): JCL (Jakarta common logging), slf4j (Simple Logging Facade for Java), JBoss loggingLog implementation: log4j, Jul (Java. Util. Logging), log4j2, logback
Select a facade (abstract layer) at the top and an implementation a ...
Posted by dacio on Tue, 07 Sep 2021 20:00:48 +0200
Multi data source configuration Jpa
Twenty eight good people are like crisp people. They cut fools with swords at their waist. Although I don't see my head falling, I secretly teach you that your bone marrow is withered.
The previous chapter briefly introduced how to configure the jdbctemplate for multiple data sources (15). If you haven't seen it, Please watch the previous ch ...
Posted by atlanta on Tue, 07 Sep 2021 01:58:19 +0200
maven usage of Mybatis and springboot usage
Maven use
Create Maven project and add dependency in pom
<dependencies>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.5.6</version>
</dependency>
<dependency>
<groupId>junit</group ...
Posted by PURU on Mon, 06 Sep 2021 19:50:32 +0200