JAVA distributed -- SpringbootSpringboot quick start, core configuration file interpretation, directory interpretation, custom configuration items, @ Value annotation @ configurationproperties

1, springboot Basics 1.1 general Spring Boot can easily and quickly create applications based on the spring framework, which enables coding, configuration, deployment and monitoring. Spring Boot has attracted much attention in the industry because it simplifies the complexity and makes the development extremely simple and fast. 1.2 character ...

Posted by trg on Sat, 19 Feb 2022 21:55:01 +0100

Beginner springboot -- CH05 springboot integration MyBatis

Use the MyBatis framework to manipulate data and integrate MyBatis in the SpringBoot framework Use steps: 1.mybatis start dependency: complete the automatic configuration of mybatis objects, and put the objects in the container 2.pom.xml specifies that the xml files in the src/main/java directory are included in the classpath 3. Create ...

Posted by mikeoffy69 on Sat, 19 Feb 2022 20:45:14 +0100

How does Spring solve circular dependency

1. Preface Cyclic dependence : is N class circular (nested) references. Generally speaking, N beans refer to each other and finally form A closed loop. It can be represented by A classic diagram as follows (A, B and C all represent objects, and the dotted line represents reference relations): ​ In fact, it can be N=1, that is, the cyclic ...

Posted by classic on Sat, 19 Feb 2022 19:39:27 +0100

Java EE - Spring learning notes 04 [transaction management of Spring]

Java EE - Spring learning notes 01 [Ioc development model] Java EE - Spring learning notes 02 [integration of Spring and Mybatis] Java EE - Spring learning notes 03 [AOP development] Java EE - Spring learning notes 04 [transaction management of Spring] Java EE - Spring learning notes 05 [Mybatis's retrograde project] catalogue 6, Tr ...

Posted by congos on Sat, 19 Feb 2022 15:31:22 +0100

Redis distributed Session

Redis distributed Session Spring-Session Spring seesion solves the problem of sharing distributed session s. introduce Spring Session is one of the projects of spring. GitHub address: https://github.com/spring-pro. Spring Session provides a perfect solution for creating and managing servlet httpsessions. function spring Se ...

Posted by mattcass on Sat, 19 Feb 2022 14:21:56 +0100

spring basic usage

applicationContext basic configuration IOC configuration 1. Basic configuration <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/ ...

Posted by Pavel_Nedved on Sat, 19 Feb 2022 12:49:54 +0100

Selection and comparison of Java single sign on technology kisso, SA token

Background introduction Single sign on (SSO) means that in a multi system environment, users do not have to log in to other systems after logging in to one system. In the early days, our web systems were all single applications, and all functions were written into a war package. The user login authentication function is relatively simple to ha ...

Posted by Aleks on Sat, 19 Feb 2022 11:34:16 +0100

Spring event framework extension - custom policy listening

Recently, when using Spring event framework to write business development, due to the functional limitations of Spring event framework, it can not well meet our development needs. Therefore, after reading the Spring event source code, the Spring event framework has been expanded. The process will be described in detail below. Problem Descripti ...

Posted by Traveller29 on Sat, 19 Feb 2022 09:09:09 +0100

Inventory springboot: application main process

I preface This article introduces the main process of SpringBoot Application The main process entry of spring application is very simple: @SpringBootApplication public class BaseApplication { public static void main(String[] args) { SpringApplication.run(BaseApplication.class, args); } } 1 > use @SpringBootApplication Not ...

Posted by rajan on Sat, 19 Feb 2022 08:05:43 +0100

Implementation of Spring AOP

Implementation of Spring AOP XML + interface mode enabled XML + custom class implementation Annotation mode on Import dependency: (although this project is not a springboot project, you only need to import the following dependency) <dependency> <groupId>org.springframework.boot</groupId> <artifactId>sprin ...

Posted by sayedsohail on Sat, 19 Feb 2022 04:56:41 +0100