lp1791803611 / plgxs

搭建Spring+SpringMVC+Mybatis多模块Maven项目

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

项目用来学习java的相关知识
使用IntelliJ IDEA工具进行构建,多模块Maven+Spring+SpringMVC+Mybatis

项目结构

plgxs
-- plgxs-parent 父模块,管理项目依赖
-- plgxs-common 公共模块,存放一些公共类
-- plgxs-app 接口模块(暂未使用)
-- plgxs-admin 后台管理模块
---- plgxs-admin-utils 工具类模块
---- plgxs-admin-model model层,存放实体类对象
---- plgxs-admin-dao dao层,mapper和mybatis
---- plgxs-admin-service service层,业务接口及实现,事务控制
---- plgxs-admin-web controller层

Spring SpringMVC Mybatis的配置文件

plgxs-admin-web下
1、src/main/resources
-config
---db.properties 数据库配置
-mybatis
---SqlMapConfig.xml mybatis配置+分页
-spring
---applicationContext-dao.xml
---applicationContext-service.xml
---applicationContext-trans.xml
---springmvc.xml
-generatorConfig.xml
2、src/main/webapp/WEB-INF
web.xml

bootstrap后台模版

About

搭建Spring+SpringMVC+Mybatis多模块Maven项目


Languages

Language:JavaScript 54.1%Language:HTML 34.0%Language:CSS 9.8%Language:Java 1.5%Language:CoffeeScript 0.3%Language:Python 0.2%Language:PHP 0.0%Language:Shell 0.0%Language:Makefile 0.0%