SpringBoot and data access (JPA and Mybatis)

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

Launch springboot project in the background on Linux

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

SpringBoot creates media classes and filters that store tokens

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: package com.example.emos.wx.config.shiro; import org.sp ...

Posted by jmarcv on Sun, 19 Sep 2021 07:12:10 +0200

One move to get the visual monitoring of Spring Boot!

1. Introduction 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

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