Overall scheme of dispatching center [internal customized transformation based on XXL job]
Overall scheme of dispatching center
XXL job transformation
target
Our dispatching center is generally built in the spring environment. The native support scheme of XXXL job requires @ xxxjob ("xxx") annotation. However, our self-developed scheduling center supports scheduling by configuring beans and bean methods (methods can ...
Posted by uktrips007 on Wed, 17 Nov 2021 18:00:04 -0800
Spring Boot auto configuration source code analysis
catalogue
preface Source version @What did SpringBootApplication do? @What did EnableAutoConfiguration do? summary
preface
Why is Spring Boot so popular? Because it's convenient, it's out of the box, but have you ever thought about why it's so convenient? The traditional SSM architecture configuration file needs to be written for at ...
Posted by hobojjr on Wed, 17 Nov 2021 17:51:14 -0800
IOC and DI in Spring ("easiest to understand Spring learning")
🏇
wow
Click
Click
:
\textcolor{blue} {wow, Kaka:}
Wow, Kaka:
stay
...
Posted by WDPEjoe on Wed, 17 Nov 2021 15:41:52 -0800
Druid Read XA Connection Initialization
Catalog
1 Initialize DruidXADataSource
2 Initialize Atomikos DataSourceBean
1 Initialize DruidXADataSource
Initializing DruidXADataSource is done by the application developer as follows:
/**
* jdbc.ds1 Get configuration information, initialize druidDataSource1
* @return
*/
@Bean(name="druidDataSource1")
@Configurati ...
Posted by fonecave on Wed, 17 Nov 2021 09:16:04 -0800
Getting started with thread safety and locks
Thread safety and lock use
When we use multiple threads to access the same resource (which can be the same variable, the same file, the same record, etc.), if multiple threads only have read operations, thread safety problems will not occur, but if multiple threads have read and write operations on resources, thread safety problems are easy to ...
Posted by jayR on Wed, 17 Nov 2021 03:52:01 -0800
Zabbix 3.0 from introduction to mastery (detailed explanation of zabbix use)
Author: a handsome young man source: http://clsn.io
Chapter 1 zabbix monitoring
1.1 why monitor
When necessary, remind us in advance that there is a problem with the server
When something goes wrong, you can find the root of the problem
Website / server availability
1.1.1 website availabili ...
Posted by reli4nt on Wed, 17 Nov 2021 03:25:33 -0800
An interview question with an annual salary of 500000 looks not difficult, but 99 people are brushed out
Today I want to talk about the problem of circular dependency in spring. Recently, a large number of fans have asked this question, which is often asked in high salary interviews.
On the issue of circular dependence, let's feel the serial gun and try whether you can pass the pass and deal with it easily.
What is circular dependency? How to ...
Posted by erasam on Wed, 17 Nov 2021 00:14:40 -0800
SPRINGBOOT02_ Introduction to automatic configuration principle, Lombok, dev tools, quick initialization boot project
① . view the main startup class as a whole
① . main startup classes are as follows:
@SpringBootApplication
public class MainApplication {
public static void main(String[] args) {
SpringApplication.run(MainApplication.class, args);
}
}
② 2. Key analysis @SpringBootConfiguration @EnableAutoConfiguration @ComponentScan
@Ta ...
Posted by GarroteYou on Tue, 16 Nov 2021 05:06:10 -0800
Spring MVC explains the core technology in detail
Chapter IV spring MVC core technology
1. Forwarding and redirection
forward: view full path
redirect: view full path
1.1 java code
@Controller
public class MyController {
* The controller method returns MOdelAndView Realize forwarding forward
* grammar: mv.setViewName("forward:View full path")
*
* forward Features ...
Posted by vargefaret on Fri, 12 Nov 2021 16:35:12 -0800
Cereal mall project (learning note 2)
Cereal mall project (learning note 1)
Cereal mall project (learning note 2)
Chapter II: initialization project
catalogue
Chapter II: initialization project
1, Initialize database
2, Introduction of Renren open source
1. Download Ren fast and Ren fast Vue
2. Introduce Ren fast in the backend
3. Introduce the front-end Ren fast Vue
4. T ...
Posted by lordshoa on Fri, 12 Nov 2021 13:22:10 -0800