There are typically four layers
within a web container:
A presentation layer that
concentrates on request/response actions which handles UI. Typically uses an MVC
framework.
A business service layer to manage transactions and business logic. This is usually
not addressed in many applications today or tightly coupled in an inappropriate layer.
A persistence layer to communicate
with a back-end relational database.
A domain object model that can be
used across all layers.