SSM

Spring + SpringMVC + MyBatis

http://img.blog.csdn.net/20160427094830780
http://assets.tianmaying.com/md-image/dbd1017dffce1d08e653d05baa1e4934.png

https://www.tianmaying.com/tutorial/spring-mvc-quickstart

java
|-mybatis MyBatis访问类
|-constant 持久化
|-mappers 类似DAO接口(SQL语句)
|-pojo 简单java对象Plain Old Java Object(数据对象)
|-aop 面向切面编程 Aspect Oriented Programming
|-controller MVC的controller
|-service service层接口 接口实现松耦合
|-service.impl service层实现 service接口+serviceImple实现类
|-resoucres properties/xml等
|-pom.xml 依赖管理

webapp
|-asets 资源 images/css/.js等
|-META-INFO MANIFEST.MF
|-WEB-INFO jsp页面
|-web.xml web配置

Spring

SpringMVC

Mybatis

QuickStart

验证码

客户端或服务端生成

AOP

####

用户登录实例

[jsp用户界面] webapp/login.jsp - loginAccount + password
|
[jsp脚本逻辑] webapp/asets/.js/login.js - ajax POST /userLogin
|
[controller] controller/UserController.java - RequestMapping(value = “/userLogin”) - userService.findUserByLoginAccount获取登录账号 + 校验逻辑 + 发送登录请求到后端系统 后端返回登录状态后再返回给前端ajax处理返回结果
|
[service] service/UserService.java - findUserByLoginAccount - LoginAccount = myBatisDAO.get(MapperConstant.LOGINACCOUNT_findUserByLoginAccount, loginAccount)
|
[myBatis] myBatisDAO + MapperConstant

struct2

http://www.blogjava.net/images/blogjava_net/lzhidj/15.PNG

Spring MVC Example for User Registration and Login
https://www.cnblogs.com/xiaoL/p/7753130.html
https://github.com/zouzg/mybatis-generator-gui

UI

Bootstrap AdminLTE Gentelella EasyUI

https://zhuanlan.zhihu.com/p/27809706
https://github.com/puikinsh/gentelella
https://colorlib.com/polygon/gentelella/index.html
http://blog.csdn.net/qq_31971935/article/details/77359955