diff --git a/layered-architecture/README.md b/layered-architecture/README.md index 9ab4b8d34..9692d6e0e 100644 --- a/layered-architecture/README.md +++ b/layered-architecture/README.md @@ -38,6 +38,10 @@ Wikipedia says > In software engineering, multitier architecture (often referred to as n-tier architecture) or multilayered architecture is a client–server architecture in which presentation, application processing, and data management functions are physically separated. +Architecture diagram + +![Layered Architecture Diagram](./etc/layered-architecture-diagram.png) + ## Programmatic Example of Layered Architecture in Java On the data layer, we keep our cake building blocks. `Cake` consist of layers and topping. @@ -86,10 +90,6 @@ public class CakeViewImpl implements View { } ``` -## Layered Architecture Pattern Class Diagram - -![Layered Architecture](./etc/layers.png "Layered Architecture") - ## When to Use the Layered Architecture Pattern in Java This pattern is suitable for structuring applications that can be divided into groups where each group has a specific role or responsibility. Common in enterprise applications, it simplifies dependencies, enhances maintainability, and supports scaling and technology stack segregation. diff --git a/layered-architecture/etc/layered-architecture-diagram.png b/layered-architecture/etc/layered-architecture-diagram.png new file mode 100644 index 000000000..8bdc13afe Binary files /dev/null and b/layered-architecture/etc/layered-architecture-diagram.png differ