Differecne between nTier and nLayer
| N-layers of application may place on the same physical computer and the components in each layer communicates with the components of other layer by defined interfaces. Layered architecture focuses on the grouping of related functionality within an application into distinct layers that are stacked vertically on top of each other. Communication between layers is explicit and loosely coupled. With strict layering, components in one layer can interact only wit | |
| h componentsin the same layer or with components from the layer directly below it.
N-tiers architectue usually have atleast three separate logical parts each located on separate physical server or on same server. Each tier is responsible with specific functionality.Each tier is completely independent from all other tier except for those immediately above and below it.Communication between tiers is typically asynchronous in order to support better scalability. The advantages of N-layers is Abstraction,Isolation, Manageability, Performance, Reusability, Testability.The advantages of N-Tier is Maintainability,Scalability,Flexibility and Availability. | |
