java naming specification, project development steps

1. Project Name: Not required, not Chinese

2. Package: domain name company to write down: com.igeek

3. Persistence: dao, persist, mepper

4. entity classes: entity, model, bean, javabean, pojo

The business logic: service

6. Controller: controller, servlet, action, web

7. Filter: filter

8. Exception: exception

9. Listeners: listener

10. Notes:

  • Use the class and method documentation comment: / ** * /
  • The method in use / * * / or //

11. categories: large hump

12. The method attributes: a small hump

 

Project development steps:

1. First design database

2. Write the entity class

3. Write persistence layer (dao)

4. Write logical layer

5. Write control layer

6. attempt

 

Guess you like

Origin www.cnblogs.com/wangwswang/p/11403084.html