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.
The need for improvement in healthcare UX has become apparent over the years. According to a John Hopkins…
Welcome back to the Dashboard Design Principles series! If this is your first time here, part 1 will…
It is frustrating to not have the information you need at your fingertips. With astronomical data coming in…
It has become evident that over the past decade the BFSI industry is heading toward a major overhaul….
Accessibility put simply, is a user experience designed for all. This concept, although around for a while, has…