This figure shows how two Java2 Enterprise Edition (J2EE) applications are distributed across three tiers: the client tier on the client machine; the middle tier, which contains the Web tier and the business logic tier on the J2EE server machine; and the enterprise data tier on the database server machine. The two applications are distributed across these tiers as follows: