Three Layers of JavaEE Projects

Posted nedrain

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Three Layers of JavaEE Projects相关的知识,希望对你有一定的参考价值。

MVC first appeared at the Web Layer of a Java Web project, it‘s a thinking.

技术图片

The Layers:


web layer:     com.truman.web/servlet/controller

 

service layer:    com.truman.service     //This is a Interface package

        com.truman.service.impl

 

dao layer:       com.truman.dao   // This is a Interface package

       com.truman.dao.impl

 

bean:             com.truman.pojo/entity/domain/bean

 

util :                    com.truman.utils

 

test :                  Test

以上是关于Three Layers of JavaEE Projects的主要内容,如果未能解决你的问题,请参考以下文章

a period of three years和three years有啥区别

C++ 中的 Rule-of-Three

C++ Rule of Three

[LeetCode][JavaScript]Power of Three

326. Power of Three

three levels of abstraction