part 1 ORM framework
ORM (Object-Relational Mapping) The emergence of ORM framework is essentially to simplify the coding of database operations in the programming process. Now this ORM framework can be basically divided into two categories. First, the representative of fully automatic ORM framework is -- > hibernate claims that you don't n ...
Posted by BuzzPHP on Tue, 21 Sep 2021 06:38:50 +0200
We know there are three ways to start a springboot project:
Run Main Method StartStart the application on the command line using the command mvn spring-boot:runWhen you run "mvn package" for packaging, it is packaged into a JAR file that can be run directly and run directly using the "java-jar" command.
We typically use the ...
Posted by dannon on Mon, 20 Sep 2021 19:09:39 +0200
The reason why you need to create a media class to store tokens is that the filter interface to be used later.
1, Create ThreadLocalToken class
Purpose of creating ThreadLocalToken class:
Create the ThreadLocalToken class in com.example.emos.wx.config.shiro. Write the following code:
import org.sp ...
Posted by jmarcv on Sun, 19 Sep 2021 07:12:10 +0200
When an application is running in a production environment, it is necessary to monitor its health. By understanding the health of the application in real time, you can get a warning before the problem occurs, and you can solve the problem before the customer notices the problem.
In this article, we will create a Spring Boot ap ...
Posted by Bubbagump on Sat, 18 Sep 2021 10:58:46 +0200
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
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 -->
Posted by zander213 on Sat, 18 Sep 2021 04:08:53 +0200
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!
If github is not accessib ...
Posted by keigowei on Tue, 14 Sep 2021 21:18:08 +0200
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
1. Introduction to springcloud
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, ...
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