java学习记录_(2)
idea-Maven创建SSM项目
1.选择maven,选取create froma rchetype 再选取webapp
2.创建项目
3.添加archetypeCatalog=internal
4.创建项目的目录结构 – Java、resources、webapp
5.根据mvc的项目开发思想创建包结构名 - MVC架构
6.根据表去创建实体类和dao层
7.整合 Spring + Mybatis – ApplicationContext.xml
8.编写mapper.xml
9.编写Service层
10.整合 Spring-MVC.xml 和 web.xml
11.导入页面/view
12.编写Controller