Standard development framework program and DAO design pattern

1. The standard program development frameworks FIG
Here Insert Picture Description
main function DAO (Data Access Object, Data Access Objects) is a data operation, part of the operating data layer in the standard program development architecture.
Client tier : Client, using B / S development framework, customers generally use a browser to access it.
Display layer : Using JSP / Servlet effect for page display.
Business layer : (Business Object, business object), a plurality of atomic-Service DAO operations are combined into a complete business logic.
Data layer : DAO DAO providing a plurality of atomic operations, such as add, modify, delete, etc., are atomic operations.
Resource layer : DataBase.
2. Note:
The above operation of the development program is divided into three structures, operations to write some specific code data layer. For some large systems, and more business related systems, BO business layer will play a role, if the business is relatively simple, you can not use the BO, and fully complete the operation by DAO.
Data layer 3. On the DAO
the DAO is composed of several parts
DatabaseConnection: opening and closing of the class database.
VO:

Published 101 original articles · won praise 8 · views 10000 +

Guess you like

Origin blog.csdn.net/qq_40764966/article/details/103977434