mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 08:58:26 +00:00
docs: add eda architecture diagram
This commit is contained in:
@@ -38,6 +38,10 @@ Wikipedia says
|
||||
|
||||
> 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
|
||||
|
||||
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.
|
||||
|
||||
## Detailed Explanation of Event-Driven Architecture Pattern with Real-World Examples
|
||||
|
||||

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