SpringBoot global configuration file

        We can define the relevant properties of the Spring Boot project in the application.properties file. Of course, these related properties can be system properties, environment variables, command parameters and other information, or the name and location of the custom configuration file. Next, we will demonstrate a cu ...

Added by january_9th on Thu, 18 Nov 2021 17:01:51 +0200

Use Redis to test shopping cart, counter, good / bad rating and other functions [you can understand it at a glance]

Link to the above: (if you don't know much about Spring integration Redis, please refer to) Spring integration Redis introduction details and basic exercises_ Yang Daxian loves basketball - CSDN blog This article only does functional testing to show the code logic, and will be released later on how to use it in the project. Shopping ca ...

Added by matt1 on Thu, 18 Nov 2021 07:25:13 +0200

VUE quick start

VUE learning document Review: 1. What is the relationship between ES6, ES and JS 2,var,let,const 3. String function indexOf lastIndexOf charAt substr substring concat includes startswith endswith The template string will be displayed in whatever format it is written in 4. Deconstruction expression: assign the value of the array ...

Added by ParkerPHP on Wed, 17 Nov 2021 14:34:08 +0200

Spring(SpringBoot) -- transaction propagation mechanism -- Application / instance / detailed explanation

Original website: brief introduction         This paper introduces the transaction propagation mechanism in Spring, and illustrates its usage with an example.         This content is also a common question in Java back-end interview. summary         Spring specifies seven types ...

Added by kyberfabrikken on Wed, 17 Nov 2021 14:20:46 +0200

It's too cruel. During the interview during the epidemic, one question cut me 5000

It's really difficult to find a job during the epidemic. If you want to get a satisfactory salary, you really need strength! Interviewer: have you used @ Value in Spring? Let me introduce it Me: @ Value can be marked on the field. You can put the data in the external configuration file, such as some configuration information of the database i ...

Added by mediabob on Wed, 17 Nov 2021 12:39:35 +0200

java Foundation series 20 (Date class)

1, Overview Date class is an old class that has existed since JDK1.1. It provides many methods for date operation, but it has been criticized for its different starting numbers and low support for internationalization. JDK officials also recognize this problem. The background proposes to use Calendar class for date operation, and the date form ...

Added by behrk2 on Wed, 17 Nov 2021 08:50:49 +0200

java Foundation series 21 (serialization and deserialization)

1, Introduction to serialization In the project, there are many situations that need to serialize and deserialize the instance object, so that the state of the object can be saved persistently, and even object transfer and remote call can be carried out among various components. Serialization mechanism is an indispensable and common mechanism ...

Added by TouranMan on Wed, 17 Nov 2021 08:13:48 +0200

Spring Boot and multiple data sources

catalogue preface The purpose of writing this article What are multiple data sources? When to use multiple data sources? Consolidate a single data source Integrate Mybatis How to integrate multiple data sources? What is a dynamic data source? How does data source switching ensure thread isolation? How to construct a dynamic data s ...

Added by 44justin on Wed, 17 Nov 2021 03:46:55 +0200

Spring Boot integrates Shiro

catalogue 1, Construction project 1. Create a SpringBoot project 2. Create configuration class Custom UserRealm ShiroConfig 3. index and login pages 4. controller layer programming 5. Implement authentication in UserRealm Write resource access restrictions in ShiroConfig   2, MD5, Salt registration 1. New register.html 2. New t ...

Added by ec on Thu, 11 Nov 2021 23:03:16 +0200

Source tracking of default login page of spring security

Source tracking of default login page of spring security In the last two months of 2021, set up a flag to   Spring Security   and   Spring Security OAuth2   The application and main process source code are thoroughly studied! All the children's shoes who have used Spring Security in the project know that when we don't cust ...

Added by Vizionz on Thu, 11 Nov 2021 05:20:19 +0200