SpringBoot integrates JDBC, Mybatis, springdata and JPA

1. Spring boot integrates JDBC (1) In POM Import related dependencies in XML <!--Inherit parent package--> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.4.1</version> </parent> <depen ...

Posted by Random on Sat, 19 Feb 2022 01:02:35 +0100

js event and event delegation

1. Events When users browse web pages, there are many operations that interact with web pages. For example, click the button, slide the screen, move the mouse, etc. through these interactions, some operations can be completed to achieve some effect. We can call these interactions events. 2. Event bubbling Event bubbling refers to the event p ...

Posted by birdie on Sat, 19 Feb 2022 00:52:55 +0100

Bean management of IOC specific operations

Bean management of IOC specific operations (based on xml) What is Bean management? Bean management actually refers to two operations. The first is to create objects for us by Spring, that is, through bean tags, and then create objects. The second is property injection by Spring. For example, a java bean has a private String userName attribute ...

Posted by jaxxstorm on Sat, 19 Feb 2022 00:43:25 +0100

Squid proxy server

1, Squid overview 1. Working mechanism of agency 2. Type of Squid agent 2, Install squid Link: Squid package Extraction code: ug49 systemctl stop firewalld systemctl disable firewalld setenforce 0 1. Compile and install Squid yum -y install gcc gcc-c++ make cd /opt tar zxvf squid-3.5.28.tar.gz cd /opt/squid-3.5.28 ./configu ...

Posted by drag0ner on Sat, 19 Feb 2022 00:39:23 +0100

Solution to 2021 TIANTI competition

2021 program design TIANTI competition was held on April 24. This article is part of the solution of TIANTI competition. Some problems did not get full marks at that time. Because the school opened the reproduction competition of TIANTI competition, write again. Note: the answer in this article is not the standard answer. The score of each que ...

Posted by devans on Sat, 19 Feb 2022 00:34:08 +0100

[axios source code] - study and analysis of the core function in the adapter

Welcome to my official account, "front-end wall". 1, Environmental preparation axios version v0 twenty-four Through github1s web page, you can see axios source code clone to local is required for debugging git clone https://github.com/axios/axios.git cd axios npm start http://localhost:3000/ 2, Function study 1. Overvie ...

Posted by four4swords on Fri, 18 Feb 2022 23:58:46 +0100

Flnk full development cycle

Abstract: Apache Flink, as the most popular computing engine for batch unification, is widely used in real-time ETL, event processing, data analysis, CEP, real-time machine learning and other fields. Beginning with Flink 1.9, the Apache Flink community began to provide support for the Python language on the basis of the original Java, Scala, SQ ...

Posted by Rulkster on Fri, 18 Feb 2022 23:34:26 +0100

[HCIE TAC] question 6-1

Error point restore: #AR31 isis 1 is-level level-1 Title: AR34 did not learn two equivalent routes 1, Fault root cause judgment After analysis, the root cause of the fault is: the ISIS router level configuration error of AR31 is level-1, and the correct configuration should be level-1-2. 2, Fault analysis 2.1. The fault phenomenon reappea ...

Posted by wezalmighty on Fri, 18 Feb 2022 23:30:54 +0100

Dubbo source code learning series integrates the zookeeper registry and provides a watcher mechanism

1. Replace map with zookeeper registry In the previous article, the remote registrymap was used to replace the cache of the zookeeper implementation service. The disadvantage of this method is that the map needs to be shared through files. If the list of service provider interfaces changes, it cannot be modified in time. How can we use the zoo ...

Posted by HiddenS3crets on Fri, 18 Feb 2022 23:28:30 +0100

Java multithreading interview notes

Detailed explanation of multithreading Learning route: thread introduction, thread implementation (key points), thread status, thread synchronization (key points), thread communication problems and advanced topics The knowledge of thread implementation and thread synchronization should be mainly studied, and other parts are only required to b ...

Posted by zeus1 on Fri, 18 Feb 2022 23:24:34 +0100