JUC study notes
JUC concurrent programming
What is JUC It refers to the abbreviation of these three packages in java
Small knowledge review
A process can have multiple threads, at least one java has two threads by default
main threadGC thread java itself cannot start the thread. It calls the local native method 6 states of threads public enum ...
Added by Duke555 on Tue, 15 Feb 2022 10:56:44 +0200
Java web learning record
javaweb
Shang Silicon Valley java web learning record
HTML
html files can be written directly by changing txt to a suffix. Use the browser to view the effect. Here are a few demo s to understand what html files can do and how to do it.
<html>
<head>
<title>This is my first web page</title>
<meta cha ...
Added by trufla on Tue, 15 Feb 2022 09:38:39 +0200
Actual combat of springcloud microservice architecture: merchant management microservice design
Business management micro service design
Merchant management microservice is an independent RESTAPI application that provides functions of merchant information management, merchant authority management and menu resource management through interface services.
The development of merchant management micro service is implemented in the merchant R ...
Added by Flames on Tue, 15 Feb 2022 09:15:53 +0200
Actual combat of micro Service Architecture: business management background and SSO design, SSO client design
SSO client design
Next, the implementation of SSO client security authentication is encapsulated through the module merchant security, so that each client application accessing SSO can refer to it.
Project management configuration for security certification
The project management of SSO client security authentication uses the following d ...
Added by plaggypig on Tue, 15 Feb 2022 09:04:39 +0200
android activity startup process_ Detailed explanation of Activity startup process (based on 10.0 source code)
Activity overview
There are four components in Android: Activity, Service, BroadcastReceiver and ContentProvider. The Activity that we most often contact and users directly feel is Activity. Today, let's talk about the execution process and working principle of Android startup.
Activity is a presentation component, which is used to show users ...
Added by shanksta13 on Tue, 15 Feb 2022 07:58:14 +0200
springboot auto scan added BeanDefinition source code analysis
1. During springboot startup, the bean definitions to be loaded will be collected and added to BeanFactory as BeanDefinition objects.
Since there are only getBean and other methods to obtain bean objects in BeanFactory, adding BeanDefinition to BeanFactory is through void registerBeanDefinition(String beanName, BeanDefinition beanDefinition) t ...
Added by woodsy2k on Tue, 15 Feb 2022 07:55:42 +0200
ArrayList cannot add, delete or modify elements with foreach
1, Fail fast
When traversing a collection object with an iterator, if the contents of the collection object are modified (added, deleted, modified) during the traversal, an exception will be thrown ConcurrentModificationException.
one ️⃣ Principle: the iterator directly accesses the contents of the collection during traversal, and uses a mod ...
Added by anhedonia on Tue, 15 Feb 2022 07:36:43 +0200
Message queue -- six working modes of RabbitMQ
Message queuing - six working modes of RabbitMQ:
1, Simple mode:
1. Simple mode:
There are no switches in the simple mode broker, only queues.
2. Related concepts:
⚫ P: The producer is the program that sends the message ⚫ C: Consumer: the receiver of the message will always wait for the message to arrive ⚫ Queue: message queue, ...
Added by sheffrem on Tue, 15 Feb 2022 05:07:13 +0200
SpringBoot distributed, Dubbo, zookeeper
catalogue
What is a distributed system?
Dubbo document
Single application architecture
Vertical application architecture
Distributed service architecture
Flow computing architecture
RPC
Test environment construction
Dubbo
Dubbo environment construction
Installing zookeeper under Window
Install Dubbo admin under Windows
SpringBoot + ...
Added by nielskg on Tue, 15 Feb 2022 04:31:06 +0200
Proxy mode
Introduction to agent mode
Proxy mode: provide an avatar for an object to control access to the object. That is, the target object is accessed through the proxy objectThe advantage is that on the basis of the realization of the target object, additional function operations can be enhanced, that is, the function of the target object can be exte ...
Added by Avochelm on Tue, 15 Feb 2022 04:22:40 +0200