Getting started with time task quartz

1. Simple introduction 2. Timed task injection service Introduction case: Add jar <dependency> <groupId>org.quartz-scheduler</groupId> <artifactId>quartz</artifactId> <version>2.2.3</version> </dependency> Write a job task    /** * Quartz The job in can be understood as ...

Posted on Thu, 14 Nov 2019 12:21:55 -0800 by carnold

SpringBoot 2.x: integrating Mybatis annotation practice

The SSM framework is no longer familiar, but it used to use XML to write SQL statements Here, use SpringBoot to integrate Mybatis and develop with annotations   Dependence: <!-- Mybatis --> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-s ...

Posted on Thu, 14 Nov 2019 10:35:33 -0800 by khanuja.sunpreet

Source code analysis of spring learning -- how spring solves circular dependency

Source code analysis of spring learning -- bean creation As mentioned in the previous articles, let's take a look at how spring solves circular dependency.stay spring learning injection In, we see two injection methods: constructor injection and setter injection. Let's take a look at each of the two ways and see what the situation is. structure ...

Posted on Thu, 14 Nov 2019 02:21:06 -0800 by daglasen

Introduction to dubbo spring boot integration

Introduction to dubbo (3) spring boot integration The main content and functions are similar to those of the previous blog, only the configuration of springboot is used to obtain the user information. See the previous blog for functional requirements.https://blog.csdn.net/qq_36654629/article/details/90052908 Now let's talk abo ...

Posted on Wed, 13 Nov 2019 11:28:26 -0800 by chrislive

Shimo + springboot using demo

shiro+springboot use 1. What is shiro shiro is a java security framework, providing authentication, authorization, session management, encryption and other functions. 2. Core components subject: indicates the current operation user (including user, third-party process, background account); represents the current user's s ...

Posted on Wed, 13 Nov 2019 10:02:47 -0800 by beedie

Spring 5 source code analysis - container refresh - @ PropertySource

Last article: Spring 5 source code analysis container refresh configuration class nested class Function description Put the customized property file into the environment.propertySources.propertySourceList collection in the container, for later automatic injection to use @ Value to set the property Value of the Bean For example, Demo Prope ...

Posted on Wed, 13 Nov 2019 06:16:11 -0800 by zkent

Spring 5 source code analysis container refresh configuration class nested class

Last article: Spring 5 source code analysis - container refresh - parsing configuration class - main process Function description When parsing a given configuration class, Spring allows its nested classes to configure container related behaviors. You can put all the annotations decorated on the configuration class on the nested class, and st ...

Posted on Wed, 13 Nov 2019 02:53:13 -0800 by Blackcarnage

Spring cloud: spring cloud bus message bus (refresh configuration service)

Bus message bus: OK, now let's continue with the last essay. As we mentioned in the previous article, if we want to update the configuration of all microservices, we can only rely on spring cloud config to update the configuration without restarting. However, we need to send post requests from one service to another, Can we take it? This is m ...

Posted on Wed, 13 Nov 2019 01:51:41 -0800 by harvillo

Mybaits source code analysis - how is Mybatis transaction managed by Spring? Is the Connection used in Mybatis and Spring transactions the same?

I don't know if some students have such a question. Why do you want to configure dataSource in Mybtis and Spring transactions? Is the Connection used in Mybatis and Spring transactions the same? Our common configurations are as follows <!--Conversational factory --> <bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFact ...

Posted on Tue, 12 Nov 2019 20:46:44 -0800 by ryanb

SSM configuration Swagger2 interface document engine

POM To increase the dependency required by Swagger2, pom.xml is configured as follows: <!-- Swagger2 Begin --> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.9.2</version> </dependency> <dependency> ...

Posted on Mon, 11 Nov 2019 14:44:09 -0800 by cpetercarter