2.4 Log processing 2.4.1 Record log content Request url Visitor ip Call method classMethod Parameter args Return content 2.4.2 new package aspect, new log aspect processing class package com.fei.
Category: Spring
Spring is an open source framework. Spring is a lightweight Java development framework that emerged in 2003 and was created by Rod Johnson. Simply put, Spring is a layered JavaSE/EEfull-stack (one-stop) lightweight open source framework
Springboot2 integrate DROOLS rules engine to achieve efficient business rules
The source code of this article: GitHub·click here|| GitEE·click here
(1), demonstration drl file format
package droolRule ;
import org.slf4j.Logger
import org.slf4j.LoggerFactory ;
di
Springbean life cycle
The life cycle of spring bean
The life cycle of spring bean: create, initialize, use, destroy,
1 create:
spring The bean is in singleton mode by default, and it is initialized in
Spring boot reads the configuration file
Development environment: IntelliJ IDEA 2019.2.2
Spring Boot version: 2.1.8
Create a new Spring Boot project named demo.
One, the default configuration file
Spring Boot will read t
Spring boot cache initial experience
spring boot cache first experience 1. Project setup Use MySQL as the database, Spring boot integrates mybatis to operate the database, so when using the spring boot cache component, you need to bui
SpringBoot specifies some types of priority launch
1. Requirements
1. Certain IP addresses and ports are restricted in the project, and only the content (ip) written in the configuration file can access the project.
2. When running the
Spring Cloud 5 major components
Spring Cloud Family Bucket is used out of the box. It is used by small and medium-sized companies and contains many components (gateway, configuration center, fuses, downgrades). .). This article i
Springboot Developed Custom Supply
Enhance SpringBoot rapid development tool Project address: https://gitee.com/sanri/web-ui
Advantages: This is a web universal configuration component, plug and play, can be used for new projects o
Spring – BindingResult and a normal target object of the BEAN name cannot be used as a request attr
See answer in English> What causes “java.lang.IllegalStateException: Neither BindingResult nor plain target object for bean name’command’ available as request attribute”? 6 Hi expert,
I have this c
Springboot + mybatisplus integrates and uses reverse engineering
First introduce the maven dependency: this is the dependency that needs to be introduced when reverse engineering when integrating mybatisplus
com.baomidou
mybatis-plus-boot-starter
2.3