Interviewer: tell me about Spring loading configuration
Interviewer: tell me about Spring loading configurationScene reviewHappy new year, everyone. I'm Xiao Zhang. Today is the first day of resumption of work. When I return to my bedroom, Xiao Ye is depressed again. There are the following scenes.Interviewer: Hello, Xiaoye. I see that my resume says that I am proficient in Spring. Then I want to as ...
Added by reaper7861 on Wed, 09 Feb 2022 21:05:15 +0200
Flutter third party plug-in
picture
Image Picker - picture selectorCached network image - displays images from the network and saves them in the cacheImage Cropper - image cropFluent advanced network image provider - advanced image cache loading and scaling controlThe ui made by photo - Fluent is convenient for customization and modificationMulti Image Picker - Multi ...
Added by atstein on Wed, 09 Feb 2022 20:56:10 +0200
[java basics] 08 multithreading
catalogue
8.1 basic concepts: program, process and thread
1 Basic Concepts
2 advantages of multithreading
3 when multithreading is required
8.2 creation and use of threads
1. Creation method 1: inherited from Thread class
2 thread scheduling
3 creation method 2: implement Runnable interface
8.3 thread life cycle
1 status ...
Added by unlishema.wolf on Wed, 09 Feb 2022 20:47:17 +0200
Java view code generated by dynamic proxy
https://www.cnblogs.com/ctgulong/p/5011614.html
1. Create an agent that exports the generated class
Agent is used to deal with a jvm. It needs to implement a static public static void premain(String agentArgs, Instrumentation inst) method I use the following code to create an agent
package ctgu.jagent;
import java.io.File;
import java.io.Fi ...
Added by frog_ on Wed, 09 Feb 2022 20:14:11 +0200
SpringBoot2.x integrate websocket
##I
WebSocket
1. Introduction to websocket
WebSocket is a communication protocol that allows full duplex communication over a single TCP connection. WebSocket makes the data exchange between the client and the server easier, and allows the server to actively push data to the client. In WebSocket API, the browser and server only need to ...
Added by shaymol on Wed, 09 Feb 2022 20:05:31 +0200
Interfaces and abstract classes
catalogue
Abstract class
Abstract method
Three principles of abstract class
Interface
Interface usage principle
Two built-in interfaces of JDK
①java.lang.Comparable comparison interface
②java. Lang. clonable clone interface
Deep and shallow copies of objects
The difference between abstract classes and interfaces
Abstract class ...
Added by Yippee on Wed, 09 Feb 2022 18:33:08 +0200
Introduction to Linux emergency response: intrusion troubleshooting should do this
Account security: 1,User information file /etc/passwd
# Format: account:password:UID:GID:GECOS:directory:shell
# User name: Password: user ID: group ID: user description: Home Directory: shell after login
root:x:::root:/root:/bin/bash
# View logged in users:
cat /etc/passwd | grep /bin/bash
# View users with UID=0
awk -F: '$3==0{print $1}' / ...
Added by JamesThePanda on Wed, 09 Feb 2022 16:53:51 +0200
Singleton pattern of design patterns you can understand
preface
*** The author writes a blog mainly to summarize the technology and deepen his understanding of it. If there are any mistakes, please help point out them.
Singleton mode
1. Definitions
Definition of Singleton pattern: a pattern in which a class has only one instance and the class can create the instance itself.
2. Features
...
Added by PurpleMonkey on Wed, 09 Feb 2022 16:11:36 +0200
Dynamic agent summary, all you need to know is here, no nonsense!
preface
Interview question: talk about jdk dynamic agent, cglib difference, implementation principle, advantages and disadvantages, and how to call methods
come from: One and a half years of face-to-face experience sharing of social recruitment (including JD Didi, the headline of Alibaba meituan)
This article summarizes the knowledge po ...
Added by zleviticus on Wed, 09 Feb 2022 16:07:23 +0200
Traffic and data isolation practice in vivo comments
1, BackgroundBy providing general capabilities such as comment publishing, likes, reports and custom comment sorting, vivo comment center helps the front desk business quickly build comment functions and provide comment operation capabilities, avoiding the repeated construction of front desk business and the problem of data island. At present, ...
Added by jackwh on Wed, 09 Feb 2022 16:04:17 +0200