mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-11 12:19:03 +00:00
docs: add eda architecture diagram
This commit is contained in:
1 parent
4e16d4b1e7
commit
2e40cc02d3
2 files changed
+4
-4
No files matched your search
@@ -38,6 +38,10 @@ Wikipedia says
|
|||||||
|
|
||||||
> Event-driven architecture (EDA) is a software architecture paradigm concerning the production and detection of events.
|
> Event-driven architecture (EDA) is a software architecture paradigm concerning the production and detection of events.
|
||||||
|
|
||||||
|
Architecture diagram
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Programmatic Example of Event-Driven Architecture in Java
|
## Programmatic Example of Event-Driven Architecture in Java
|
||||||
|
|
||||||
The Event-Driven Architecture (EDA) pattern in this module is implemented using several key classes and concepts:
|
The Event-Driven Architecture (EDA) pattern in this module is implemented using several key classes and concepts:
|
||||||
@@ -153,10 +157,6 @@ Running the example produces the following console output:
|
|||||||
|
|
||||||
This example demonstrates the Event-Driven Architecture pattern, where the occurrence of events drives the flow of the program. The system is designed to respond to events as they occur, which allows for a high degree of flexibility and decoupling between components.
|
This example demonstrates the Event-Driven Architecture pattern, where the occurrence of events drives the flow of the program. The system is designed to respond to events as they occur, which allows for a high degree of flexibility and decoupling between components.
|
||||||
|
|
||||||
## Detailed Explanation of Event-Driven Architecture Pattern with Real-World Examples
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
## When to Use the Event-Driven Architecture Pattern in Java
|
## When to Use the Event-Driven Architecture Pattern in Java
|
||||||
|
|
||||||
Use an Event-driven architecture when
|
Use an Event-driven architecture when
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 86 KiB |
Reference in new issue
Block a user