Po vo dao bo pojo and vopojo in java
I. PO: Persistent object of persistant object. It can be regarded as an ava object mapped to a table in the database.
The simplest PO is to correspond to a record in a table in the database. The PO set of multiple records should not contain any operations on the database.
Ii. VO: value object. It is usually used for data transmission between business layers. Like PO, it only contains data. However, the abstract business object can correspond to the table or not according to the business needs.
3. DAO: data access object: the data access object used to access the database. It is usually used in combination with PO. DAO contains various database operation methods. This method is used in combination with PO to perform database-related operations.
4. BO: business object business Objects encapsulate java objects of business logic. java objects use the DAO method together with PO and VO to perform business operations.
5. POJO: plain ordinary java object
This article