Spring learning: AOP operation

1, AOP operational terminology 1. Connection point The methods in the class that can be enhanced are called join points. 2. Entry point The method that is actually really enhanced is called the entry point. 3. Notification (enhanced) (1) The logical part of the actual enhancement is called notification (enhancement) (2) There are several ...

Posted by chmpdog on Sat, 12 Feb 2022 14:50:16 +0100

Java Foundation (16) - Date SimpleDateFormat CalendarDate class

catalogue Overview of Date class Construction method Member method Conversion between Date type and long type millisecond value SimpleDateFormat class SimpleDateFormat Construction method Definition of common rules for the SimpleDateFormat class Member method Case: calculate how many days you have been in this world. Calendar Class ...

Posted by tonga on Sat, 12 Feb 2022 14:50:41 +0100

On the actual combat of Mysql database and table

1, BackgroundAfter the release of the last article on the road of order reconstruction, many small partners want to know how to realize the sub database and sub table. Then this article specifically introduces the actual combat of sub database and sub table.2, TargetThis paper will accomplish the following objectives:Number of sub tables: 256 n ...

Posted by ThermalSloth on Sat, 12 Feb 2022 13:43:14 +0100

Algorithm design and analysis ordered table

Ordered table Function: supports all operations of hash table. Keys are organized in order (hash table is out of order)Time complexity: all operations are O(log N) levelImplementation method: (1) Red black tree (2)AVL (3)SBT (4) Skip list (1) , (2), (3) all attribute BST (balanced search binary tree) Search Binary Tree There are general ...

Posted by Arrow on Sat, 12 Feb 2022 13:28:22 +0100

JAVA exercise 114 - cat and mouse

The two players play the role of cat and mouse respectively, and play the game on an undirected graph. They take turns. The form of graph is: graph[a] is a list, which is composed of all nodes b satisfying that ab is an edge in the graph. The mouse starts from node 1 and starts first; The cat starts from node 2 and starts the second. There is ...

Posted by drunknbass on Sat, 12 Feb 2022 13:22:55 +0100

Java - Comparison of Java objects

Comparison of java objects Objectives of this section Raising questionsComparison of elementsComparison of objects in JavaComparison method of PriorityQueue in collection frameworkSimulate the implementation of PriorityQueue 1. Questions raised Last class, we talked about priority queue. When inserting elements into priority queue, there is ...

Posted by anon_amos on Sat, 12 Feb 2022 12:57:36 +0100

[SpringCloud component learning notes series] OpenFeign component

3. Use and explanation of SpringCloud Netflix OpenFeign Feign can hide the Rest request and disguise it as a Controller similar to spring MVC. It doesn't need to splice URL s, parameters and other operations by itself. Feign can take over these and complete them automatically. 3.1 use of Feign 3.1.1. Dependency import In the pom file of con ...

Posted by pb4life55 on Sat, 12 Feb 2022 12:54:34 +0100

Interface isolation principle -- give an example to illustrate the interface isolation principle in Java design pattern

Before introducing the principle of interface isolation, let's take a look at the first example in the following example - counterexample 1, Examples 1. Counterexample (1) Class diagram description Because the class diagram is relatively clear, let's look at the class diagram first As you can see, DogPlays Java and CatPlays Java impl ...

Posted by areid on Sat, 12 Feb 2022 12:50:56 +0100

Alipay scan code payment implementation

In a project development, my business module involves Wechat code scanning payment And Alipay scan code payment. After consulting the existing technical articles, I found that many articles did not work, so I read the official documents and formed this concluding article, hoping to help readers. Alipay platform Alipay Developer Center Alipay op ...

Posted by R1der on Sat, 12 Feb 2022 11:02:51 +0100

Spring mybatis core knowledge

Write in front This is the core knowledge of spring mybatis, which can be used to review the eight part essay and deepen knowledge. It is recommended that you read it in the mode of breaking through the customs, and then check and fill the gaps according to the content. You are welcome to ask questions and learn from each other. It was done b ...

Posted by Kazlaaz on Sat, 12 Feb 2022 10:40:21 +0100