An open API service indexing awesome lists of open source software.

https://github.com/wenbochang888/ssm

ssm的一些小小项目
https://github.com/wenbochang888/ssm

mybatis spring springmvc ssm

Last synced: about 2 months ago
JSON representation

ssm的一些小小项目

Awesome Lists containing this project

README

          

# UPDATE1.0 SSM_HelloWorld

2017年11月24日20:01:38

首先真的感觉调试代码就是一个坑,调了快一个晚上才调试成功。

真的就一点点的小错误,你硬是找不出来,真的麻烦死了。迟早要猝死。

我测试spring + springmvc成功,测试mybatis成功

TMD合在一起就GG。天要亡我。

SSM断断续续的学了快两个月了,其实也没多认真学(逃)

以后就在项目中学习了,记录下来,长期更新版本

## 废话少说 进主题

Spring + SpringMVC + Mybatis的一个整合HelloWorld

从student数据库中取出数据然后在页面中展示。

![Image text](https://github.com/wenbochang888/SSM/blob/master/img/HelloWorld.png)

# UPDATE2.0 ssm_crud

2017年12月3日15:21:21

这是2.0版本,ssm的一个简单的crud,用了一个晚上搞定的,今天看了就发布了下。

说实话,我现在还没有感受到ssm框架的好处。

最好的好处就是**结构特别的清晰,前端jsp发送请求给springmvc控制的controller层,**

**然后controoler层在调用service层,service与数据库DAO层交互,数据库sql用MyBatis实现**

这是我发现的唯一好处,其他我到现在还没有感受出来,慢慢来吧。

![Image text](https://github.com/wenbochang888/SSM/blob/master/img/index.png)

![Image text](https://github.com/wenbochang888/SSM/blob/master/img/ShowAllStudent.png)

![Image text](https://github.com/wenbochang888/SSM/blob/master/img/AddStudent.png)

![Image text](https://github.com/wenbochang888/SSM/blob/master/img/DeleteStudent.png)