Java data object use: PO, DO, TO, DTO, VO, BO, DAO, POJO concept explanation and use

class=”markdown_views prism-atom-one-dark”> PO: Persistent Object Persistent Object The display state of the records in the database table in the java object. The most vivid understanding is that a PO is a record in the database. A record can be treated as an object, and it can also be easily converted to other objects. If there is a piece of data in the database, a simple class is now given an instance of this data, then the existing state of this simple class is PO. (generally/temporarily not used) DO:Domain Object Domain Object Used to receive the entity corresponding to the database, it is an abstract data state, between the database and business logic. Generally, it is used when the Service accesses the database to receive data. Generally placed under the entity/domain package. (Common) TO:Transfer Object Data Transfer Object An object that is transferred between different relationships in the application. (generally/temporarily not used) DTO: Data Tranfer Object Data Transfer Object This concept comes from the J2EE design pattern, which is a method of transferring data between design patterns software application system. The data transferred by the data is generally the data retrieved by the data access object from the database. Generally refers…

Contact Us

Contact us

181-3619-1160

Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top
首页
微信
电话
搜索