This diagram graphically depicts the components defined by the J2EE architecture. Three tiers are present: client tier, middle tier, and the enterprise information system tier. The middle tier consists of J2EE containers and their services The enterprise tier consists of databases and legacy applications.