Deep analysis of thread pool in java thread series

(it's more convenient to see the source code on the horizontal screen of mobile phone) Note: java source code analysis part is based on java version 8 unless otherwise specified. Note: This article is based on the ScheduledThreadPoolExecutor timed thread pool class. brief introduction We have learned the execution process of common tasks and ...

Posted on Tue, 05 Nov 2019 08:51:40 -0500 by lulubell

How does SpringBoot start?

This article is about the spring boot startup process sorted out by looking at the spring boot source code. The overall direction is to start with simplicity, not to mention too many complex things. The details of internal implementation are not covered in this article because everyone's ideas and understanding are different. My personal unders ...

Posted on Tue, 05 Nov 2019 03:20:57 -0500 by flaab

spring framework learning

What is Spring framework Spring is a J2EE system framework based on IOC and AOP IOC Inversion Of Control is the foundation of Spring. Inversion Of Control is simply to say that the creation of objects is called by the previous programmer's own new construction method, which turns into the creation of objects by Spring; DI dependency injection, ...

Posted on Tue, 05 Nov 2019 01:40:46 -0500 by wmguk

Spring cloud responsive microservice series tutorial (Chapter 10): complete code example of responsive RESTful service

This is the tenth chapter of the series of practical spring cloud responsive microservices. This chapter gives a complete code example of responsive RESTful services. It is suggested that children's shoes without previous foundation should be read first, and the chapter catalog should be placed at the end of the article. 1. Build responsive RES ...

Posted on Mon, 04 Nov 2019 22:51:26 -0500 by maseeha

springBoot rapid integration Druid

brief introduction Druid is a database connection pool. Druid is currently the best database connection pool. Druid is a database connection pool developed by Alibaba called monitoring. springBoot rapid integration druid I. introducing druid dependency into pom files <!--Alibaba database connection pool --> & ...

Posted on Mon, 04 Nov 2019 17:04:18 -0500 by Jude

Spring--Bean's life cycle

Demo code Define a Man class public class Man implements BeanNameAware, ApplicationContextAware, InitializingBean, DisposableBean { private String name; public String getName() { return name; } public void setName(String name) { System.out.println("Step 2: set properties"); th ...

Posted on Mon, 04 Nov 2019 15:17:07 -0500 by Waldir

[DataBase] Hsqldb and project integration

Hsqldb and project integration Integration in progress mode hsqldb in in process mode can be integrated. Because the data is stored in the file, even if the program exits, the data will not be destroyed Adopt the way of jdbc integration 1 package com.test.hsqldb; 2 3 import java.sql.Connection; 4 import java.sql.DriverManager; 5 ...

Posted on Mon, 04 Nov 2019 09:45:09 -0500 by raffielim

Spring boot 2.0: a hundredfold journey to lose weight

Preface In order to save my little yellow map, I am currently working on a map bed service, which integrates various third-party cloud storage services, and is currently in the internal testing stage. The project runs in the form of Jar on Tencent cloud. Don't ask me why I use Tencent cloud, because old users and dogs of Alibaba cloud are not ...

Posted on Mon, 04 Nov 2019 09:36:52 -0500 by cyandi_man

Spring AOP - Introduction to the use of annotation

Preface In the previous chapter of source code analysis, I explained the source code of the core part of Spring IOC. If you are familiar with the use of Spring AOP, after understanding the core source code of Spring IOC, learning the source code of Spring AOP should be a natural process without any difficulties. But to start with the source cod ...

Posted on Mon, 04 Nov 2019 06:10:36 -0500 by PFMaBiSmAd

Mybatis source code parsing: how is mybatis integrated with Spring?

Mybatis source code analysis (1) -- how is mybatis integrated with Spring?                          How does it load various mybatis related xml? How does it realize database operation only through a Mapper interface + Mappe. ...

Posted on Mon, 04 Nov 2019 05:15:50 -0500 by Ola