Understanding J2EE Components

You saw yesterday that modern software architecture design utilizes an n-tier model where each tier (or layer) implements one aspect of the overall solution. There are many ways to slice and dice the n-tier model, but the following list identifies the most common layers:

  • Presentation— The display of information back to the client

  • Application— Flow control logic for accessing and using the system

  • Business— Encapsulation of business rules

  • Data storage— Persistent data storage

Each layer is as loosely coupled as possible from the adjacent layers and should be completely unaware of any other layers. Put simply, a business logic component may have some knowledge of the application and data storage layers but no knowledge ...

Get Sams Teach Yourself J2EE™ in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.