项目1:UserManagerSystem 用户管理系统

1.三层架构

java中的接口两种含义:(1)接口(2)用户能用到的功能,即方法

2.Servlet 用在 Controller层

Controller:控制前端和后端交互。和前端页面打交道

通过Servlet用request,response和前后端打交道

3.

Dao层:定义了接口

Service层:调用了Dao层

Controller层:使用了Service层提供的服务

原文地址:https://www.cnblogs.com/midiyu/p/15111700.html