Hi What are these in Java EE .Presentation Tier .Business Tier .Integration Tier
I like to know what are these patterns with example
Hi What are these in Java EE .Presentation Tier .Business Tier .Integration Tier
I like to know what are these patterns with example
Examples:
Presentation tier: JSPs, Servlets;
Business tier: Java classes for connection to databases, EJB;
Integration tier: SOAP, REST Web services
Mulit-tier architecture, or n-tier architecture, is an architecture style in which the different responsibilities of an application are broken up into distinct tiers, typically:
The rationale behind n-tier architecture is better Separation of Concerns (SoC) and low coupling. This allows better scalability as each tier can be separated onto different computer systems distributing the processing load.
Note that tier may have different meanings for different people: one hardware oriented (physical), the other software oriented (logical). Personally, I think that there is indeed a difference and prefer to use the term "layer" for the logical view. This is reminded in mulit-tier architecture on wikipedia:
The concepts of layer and tier are often used interchangeably. However, one fairly common point of view is that there is indeed a difference, and that a layer is a logical structuring mechanism for the elements that make up the software solution, while a tier is a physical structuring mechanism for the system infrastructure.
Actually, multi-tier architectures have been highly promoted by hardware vendors (Sun, I'm looking at you) as more tiers = more machines, despite the consequences on the complexity and the productivity. So please, don't follow the Core J2EE patterns to the letter, you don't need all the patterns unless you want to build a Rube Goldberg machine.