Three Tier ArchitecturePresentation Layer (UI classes)Business Logic Layer (data classes holding business logic)Persistent Data Layer (databases, DBMS, data access classes)
позволяющий скрыть сложность системы путём сведения всех возможных внешних
вызовов к одному объекту, делегирующему их соответствующим объектам системы.
Слайд 6
Motivation Most software systems require persistent data (i.e. data
that persists between program executions). In general, distributing low-level data
access logic throughout a program is not a good idea (design).
Program
select * from Items
rs.getString("Name")
Слайд 7
Data Access Layer A better design is one that
includes a data access layer which encapsulates the details
of the underlying persistence API. It abstracts the low-level details of persistent storage. It provides an interface that is usually a better match for the style of programming used in the domain logic. For example, the data access layer might provide an OO interface onto relational data.