By WalkingTree February 01, 2021
The layered architecture pattern, also known as the n-tier architecture pattern. This n-tier architecture is like a standard for most Java applications and is widely known by most developers and architects. The layered architecture pattern does not specify the number of layers but the most layered architectures consist of four standard layers i.e the presentation, business, persistence, and database.
The business layer and persistence layer are combined into a single business layer in a few cases. Smaller applications may have only three layers, whereas larger and more complex business applications may include five or more layers.
- Presentation Layer – This layer is responsible for handling user interface and browser communication logic.
- Business Layer – Executes specific business logic and passes that information to the presentation layer.
- Persistence Layer – Retrieves data from the database layer and passes it to the business layer.
- Database Layer – This layer stores the data.
Let’s take a look at some of the key concepts of layered architecture –
- Components in a specific layer deal only with the logic that pertains to that layer. For example, components in the presentation layer deal only with presentation logic, and the components in the business layer deal only with business logic.
- The changes made in one layer of the architecture generally don’t affect components in other layers, the change is isolated to the components within that layer.
- The requests are allowed to bypass a layer and go directly to the layer below it.
Read on to know more about layered architecture and its use cases.
Adobe XD is a very fast emerging prototyping application and is making rounds in every organization, who is…
Just twenty years ago everyday life wasn’t as it is today. Not every household had a desktop or…
Digital disruption has taken our world by storm and there is still a lot more to explore out…
Many of us aware of the fact that we are living in a world of apps. With a…
Here are few terminologies that should be used if you are in a field of UX. You…