
分层的目的是为了解耦,解耦就是为了降低代码的耦合度。方便项目后期的维护和升级.
| | |
---|
Web层 | com.bigbey.web/servlet/controller | 接口层 |
Service层 | com.bigbey.service | 服务层 |
| com.bigbey.service.impl | 服务实现层 |
Dao持久层 | com.bigbey.dao | 持久层 |
| com.bigbey.dao.impl | 持久实现层 |
实体Bean对象 | com.bigbey.pojo/entity/domain/bean | JavaBean实体类 |
测试包 | com.bigbey.test/junit | 测试包 |
工具类 | com.bigbey.utils | 工具包 |
评论区