Spring Boot annotation principle, automatic assembly principle, illustrated

First, let's look at the main configuration class of SpringBoot: @SpringBootApplication public class StartEurekaApplication {     public static void main(String[] args)     {         SpringApplication.run(StartEurekaApplication.class, args);     } } Click @ SpringBootApplication to see that @ SpringBootApplication is a composite annotation. ...

Added by WendyLady on Sat, 25 Dec 2021 06:00:10 +0200

[architect interview - large factory internal interview question-2] - 33 written MySQL questions with answers and table structure

After finishing these 33 questions, we don't have to worry about the written sql test any more. We don't talk much nonsense. Let's go straight to the dry goods!!! 1: Title 1. Query the Sname, Ssex, and Class columns of all records in the Student table. 2. Query all the companies of teachers, that is, the non duplicate Depart ment column. 3. ...

Added by shmeeg on Fri, 24 Dec 2021 18:55:59 +0200

Architecture learning path

brief introduction Architecture: software architecture is an abstract description of the overall software architecture and components, which is used to guide the design of all aspects of large-scale software systems; Excellent performance, strong TPS/QPS carrying capacity and high availability determine how much PV traffic you can support; du ...

Added by dast on Thu, 23 Dec 2021 08:46:37 +0200

[spring 41 / 43] - Analysis of interface architecture related to ApplicationContext

Quote the original text: https://www.cmsblogs.com/article/1391385051513622528 [dieke Spring 41/43] - Analysis of interface architecture related to ApplicationContext text In the previous 30 blogs, the analysis is based on the BeanFactory container. The BeanFactory container is a little simple. It is not suitable for our production environment ...

Added by tomdelonge on Sun, 19 Dec 2021 19:31:34 +0200

Concurrent programming - detailed explanation of ReentrantReadWriteLock read / write lock

1, Introduction to read-write lock In reality, there is such a scenario: there are read and write operations on shared resources, and write operations are not as frequent as read operations. When there is no write operation, there is no problem for multiple threads to read a resource at the same time, so multiple threads should be allowed to r ...

Added by posidon on Fri, 17 Dec 2021 08:49:56 +0200

RabbitMQ practical tutorial (video learning notes)

RabbitMQ practical tutorial In this paper, I personally experiment and modify some places for the notes in the video recorded when learning rabbitmq. The versions of centos and rabbitmq used are different from those in the video. You can give the video three links to support up master ha. The video address is: https://www.bilibili.com/video ...

Added by Crysma on Thu, 16 Dec 2021 23:50:23 +0200

Android official architecture component - Lifecycle

What is Lifecycle? Lifecycle components refer to Android arch. Various classes and interfaces provided under the lifecycle package allow developers to build classes that can sense the lifecycle aware of other components (mainly activities and fragments). Why introduce Lifecycle? As I said earlier, Lifecycle enables developers to build classe ...

Added by GrayFox12 on Thu, 16 Dec 2021 17:25:44 +0200

HashMap implementation principle (with source code), see this article is enough

HashMap is a collection container that senior java engineers must be proficient in. Its importance is almost equal to the importance of Volatile in concurrent programming (visibility and order). Through the detailed explanation of graphic source code, this article deeply analyzes the important kernel knowledge of HashMap, which is easy to read ...

Added by catalin.1975 on Tue, 14 Dec 2021 01:08:14 +0200

Java singleton mode implementation, complete learning at one time, plus points in the interview

Singleton pattern is the most commonly used pattern in design patterns. It belongs to object creation mode, which can ensure that only one instance of a class is generated in the system. Such behavior can bring two benefits: For frequently used objects, the time spent creating objects can be omitted, which is a very considerable overhead for t ...

Added by olanjouw on Sun, 12 Dec 2021 16:05:45 +0200

Interface architecture style - RESTful

Interface architecture style - RESTful The interface here refers to API (application program interface) API (Application Programming Interface) refers to some pre-defined interfaces (such as functions and HTTP interfaces) or conventions for the connection of different components of the software system. It is used to provide a set of routin ...

Added by ryza_ on Sat, 11 Dec 2021 12:17:25 +0200