docs: add new diagrams for game loop, gateway, guarded suspension, half-sync/half-async, health check

This commit is contained in:
Ilkka Seppälä
2025-04-06 20:55:07 +03:00
parent 9b64cdee98
commit 9d23a234bb
11 changed files with 20 additions and 4 deletions
-4
View File
@@ -173,10 +173,6 @@ Running the main function of App class produces the following output:
In this example, the `LotteryAdministration` and `LotteryService` classes are the core of the application. They interact with external interfaces like `LotteryTicketRepository`, `LotteryEventLog`, and `WireTransfers` through dependency injection, keeping the core business logic decoupled from external concerns. This is a basic example of the Hexagonal Architecture pattern, where the core application is at the center of input/output systems.
## Detailed Explanation of Hexagonal Architecture Pattern with Real-World Examples
![Hexagonal Architecture class diagram](./etc/hexagonal.png)
## When to Use the Hexagonal Architecture Pattern in Java
Hexagonal Architecture is particularly beneficial in scenarios: