Spring standard event and custom event observer pattern
spring events
In the official spring documentation, spring events are essentially a standard observer pattern.
Spring events were refactored in Spring 4.2.
system event
system eventdescribeContextRefreshedEventThe event published when the application container (ApplicationContext) is initialized or refreshed. For example, the eve ...
Added by nunomira on Tue, 21 Dec 2021 08:31:52 +0200
spring annotation usage ideas / methods
Recently, I got some tips when using spring annotation, which is hereby recorded for future reference.
Know about the notes and what they do
Find the corresponding annotation according to the scene, and then understand the description and usage of the annotation in detail - through the description of the annotation itself / official docum ...
Added by Chiaki on Tue, 21 Dec 2021 04:27:23 +0200
Java Spring framework -- Introduction
catalogue
1. What is spring
2. Why use Spring?
3. Environmental construction
3.1. Create a java project and import the corresponding jar package
3.2. Create configuration file
3.3. Add corresponding modules
3.4. Hand over bean instantiation to Spring
3.5 testing
4. Injection by construction method
5. General attribute injection
6,sco ...
Added by h123z on Tue, 21 Dec 2021 02:41:46 +0200
Spring 05: Aspect Oriented Programming
1 definition of AOP
AOP (Aspect Oriented Programming) means: Aspect Oriented Programming, which realizes the unified maintenance of program functions through precompiled mode and runtime dynamic agent.
Aspect oriented programming is a supplement to object-oriented programming. It encapsulates the parts commonly called by each business mod ...
Added by BIOSTALL on Tue, 21 Dec 2021 02:29:14 +0200
Learning notes of springcloud: understanding microservices, talking about capital, iterative evolution of technology, and taking payment module as an example to experience demo
springcloud2020
Daily Maxim
Learning your mind and understanding is useless—— "Confucian classics Grottoes"
Organize knowledge
String your previous things
How to learn at this stage
While learning new knowledge, don't forget to review yourself and your knowledge
My own things
javaSEdatabaseFront end knowledgeServle ...
Added by LoStEdeN on Tue, 21 Dec 2021 02:06:40 +0200
Spring learning notes
catalogue
Introduction:
form:
expand:
IOC theoretical derivation
HelloSpring
How IOC creates objects
Spring configuration
Alias
Bean configuration
import
Dependency (DI) injection
Constructor Injection
Set mode injection
Expansion mode injection
p namespace injection
c namespace injection (through constructor injection)
Bean S ...
Added by nethnet on Mon, 20 Dec 2021 22:12:34 +0200
Apache Dubbo basic usage
Distributed RPC framework Apache Dubbo
Introduction to Dubbo
Apache Dubbo is a high-performance Java RPC framework. Its predecessor is Alibaba's open source and lightweight open source Java RPC framework, which can be seamlessly integrated with the Spring framework. In 2018, Alibaba donated this framework to the apache foundation.
What is RP ...
Added by serious1234 on Mon, 20 Dec 2021 17:52:14 +0200
About the difference between @ DateTimeFormat, @ JsonFormat and @ JsonFiled when formatting date objects!
I am a program ape who has just joined the company. Under the guidance of my boss, I hereby publish an article to record the problems I encounter in my study and work. From this week, it will be updated every week. Welcome to discuss and study together! Don't say much, go straight to the subject.
@DateTimeFormat
Its function is to convert the ...
Added by veridicus on Mon, 20 Dec 2021 17:23:46 +0200
Spring Cloud Eureka advanced application
1 Preface
Through the explanations in the previous two chapters, we have basically mastered the principle and use of Eureka. Next, we will talk about how Eureka is applied from the dimensions of security, monitoring, high availability and tuning.
2 Eureka security configuration
Eureka is an important registry in the whole spring cloud mi ...
Added by ozone1 on Mon, 20 Dec 2021 12:37:35 +0200
On java log management logback
1. Problem description
About the log management logback in java, I wrote an article about logback last year. In this project, I optimized it and recorded it. I hope it can help friends in need.
2. Solution
In fact, I encountered a problem this time. Generally, I will create a user on linux alone, which is the same as the online development e ...
Added by dhe on Sun, 19 Dec 2021 21:33:25 +0200