Zhao Huabing, senior engineer of Tencent cloud, Istio Member, management member of ServiceMesher, contributor of Istio project, is keen on open source, network and cloud computing. At present, it is mainly engaged in open source and R & D of service grid.
TCM (Tencent Cloud Mesh) is a Service Mesh hosting service based on Ist ...
Posted by Chris92 on Mon, 07 Mar 2022 19:43:46 +0100
1.Spring Configuration Data Source
1.1 Role of data sources (connection pools)
Data sources (connection pools) are available to improve program performance
Pre-instantiate the data source to initialize partial connection resources
Get from data source when using connection resources
Return the connected resource to the data source after us ...
Posted by anthonyfellows on Mon, 07 Mar 2022 19:11:53 +0100
Chapter 1 Introduction to spring MVC
Spring Framework version 4.3.29 RELEASE
What is spring MVC
1. Spring Part of the family
2. yes JavaWeb Solution of controller layer in three-tier architecture
3. Is based on MVC Ideological framework
Spring MVC knowledge point outline
Spring MVC ...
Posted by jiayanhuang on Mon, 07 Mar 2022 15:37:33 +0100
1, Basic concepts of transaction 1. What is a transaction (1) Transaction is the most basic unit of database operation. Logically, a group of operations either succeed or fail if one fails (2) Typical scenario: bank transfer 2. Transactions have four characteristics (ACID) (1) Atomicity: to succeed, to fail, to fail (2) Consistency: the total a ...
Posted by tillaart36 on Mon, 07 Mar 2022 15:11:29 +0100
SpringBoot-21-Mybatis multiple data sources
As we mentioned earlier, there are two ways to generate Mybatis Code:
Mybatis Genenrator Mybatis code generation Mybtais Plus MyBatisPlus code generation
The JdbcTemplate and spring boot data operation databases were also introduced earlier
JdbcTemplate multi data source configuration Spring ...
Define spring beans
Bean definition in the corresponding code is the configuration meta information interface of beans defined in the Spring Framework, mainly including:
Bean's class name, fully qualified name, concrete implementation classBean configuration meta information: scope, Auto Wiring, lifecycle callbackBean References: Collaborator ...
Posted by buddhika2010 on Mon, 07 Mar 2022 01:53:27 +0100
👏 About the author: Hello, I'm cabbage ~ ~, a sophomore in school, and a new star creator in the Java field.📝 Personal homepage: Cabbage CSDN blog📧 If there are mistakes in the knowledge points of the article, please correct them! Learn and make progress with you 👀🔥 If you feel the blogger's article is good, please 👍 Three company support ...
Posted by eyaly on Sun, 06 Mar 2022 22:22:30 +0100
Ideas of this paper
How to implement dynamic proxy in jdk, cglib and spring.
spring implements ProxyFactory details of dynamic agents.
Understand the general idea of AOP implementation from the use of ProxyFactory.
What is an agent
Provide a proxy for other objects to control access to this object, enhance a method in a class, and extend the ...
1, synchronized and Volatile
Visibility can be guaranteed, but atomicity cannot be guaranteed (thread safety problem)
Both visibility and atomicity can be guaranteed
Reordering is not prohibited
synchronized is blocking. Only one thread can access it at a time
Concept: the c ...