Three: Engineering structure and development protocol (very important!!!)

This blog is an introduction to the Java project structure and basic content!

table of Contents

1. Overall project structure:

2./src directory:

3./dao:

4.***The relationship between Service and Dao:

5. MVC: hierarchical, level by level, one-way call: principle

6.JavaBean: a special format of Java class


1. Overall project structure:

……………………………………………………

2./src directory:

……………………………………………………

3./dao:

……………………………………………………

4.***The relationship between Service and Dao:

……………………………………………………

5. MVC: hierarchical, level by level, one-way call: principle

If you violate this rule, there is no grammatical error, but it violates the rules of development! ! !

……………………………………………………

6.JavaBean: a special format of Java class

Many technologies in Java have natural support for JavaBean by default. For example, el expressions naturally support JavaBean. As long as a class is guaranteed to be JavaBean, then el expressions will naturally extract the corresponding properties from the objects of this JavaBean class;

 

Guess you like

Origin blog.csdn.net/csucsgoat/article/details/114684462