Po vo dao bo pojo and vopojo in java

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.