Java project and Java Project

Source: Internet
Author: User

Java project and Java Project
1. Package naming

Example: com. sun. spring. xxx. service. impl

Level 1: reverse com. sun of the Company domain name

Level 2: Project name spring

Level 3: module information xxx

Level 4: top-level feature Package service/dao/vo/po

Level 5: Implementation Layer impl

Ii. model naming

1. po: Persistance Object, persistence Object, corresponding to the corresponding table in the database, generally with the id attribute

2. vo: View Object, value Object, which is generally used to pass values between classes and pages.

3. dto: Data Transfer Object, a Data transmission Object, which is generally used to pass values between classes.

Related 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.