Spring+Jersey+Hibernate+Mysql依赖注解方式代码框架

NS374 34 0 RAR 2018-12-25 22:12:09

更改src下database.properties相关数据库配置信息,在mysql数据库里创建user表 id自增长 属性username password将项目部署tomcat服务器下 浏览器里访问http://localhost:8081/SJH/resource/users 可以在页面看见将数据库里所有user信息查出来返回为json格式

用户评论
请输入评论内容
评分:
Generic placeholder image 卡了网匿名网友 2018-12-25 22:12:09

结构很好 就是 版本有点老

Generic placeholder image 卡了网匿名网友 2018-12-25 22:12:09

版本太低啊,hibernate也不是用的很好啊,其他还行

Generic placeholder image 卡了网匿名网友 2018-12-25 22:12:09

最近在搭建这样一个框架,只好找找资料 学习下

Generic placeholder image 卡了网匿名网友 2018-12-25 22:12:09

有借鉴作用,可以学习

Generic placeholder image 卡了网匿名网友 2018-12-25 22:12:09

非常不错,结构很好,只是版本有点老

Generic placeholder image 卡了网匿名网友 2018-12-25 22:12:09

版本有点老;而且hibernate的很多获取有点问题

Generic placeholder image 卡了网匿名网友 2018-12-25 22:12:09

非常不错的代码资源。

Generic placeholder image 卡了网匿名网友 2018-12-25 22:12:09

代码还是太少了,不够用啊

Generic placeholder image 卡了网匿名网友 2018-12-25 22:12:09

有些借鉴意义

Generic placeholder image 卡了网匿名网友 2018-12-25 22:12:09

代码还是太少了,不够用啊