Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Mini and Easy RESTful Service build with Spring MVC and Hibernate

Notifications You must be signed in to change notification settings

flychermars/spring-mvc-REST

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

16 Commits

Repository files navigation

spring-mvc-REST 是一个完整的,轻量、简单的Java RESTful 项目,基于Spring MVC. 里面有基本的增删改查的功能。而且无需修改任何内容,就可以直接跑起来。


如何运行:

第一步根据 SQL 文件配置Mysql数据库。

第二步直接运行 在命令行界面输入:

$ cd spring-mvc-REST
$ mvn tomcat7:run [-Dmaven.tomcat.port=<port no.>] (In case 8080 is busy] 

通过浏览器打开:http://localhost:8080/spring-mvc-REST/students

第三步: 下载一个 REST Client来模拟请求, 具体的URL和Payload参看 REST 架构该怎么生动地理解? http://zhihu.com/question/27785028/answer/118036452

如果你想要学习或贡献和这个项目: 下载IDEA Intellij,然后选择import project, 选择import一个maven项目即可。

About

Mini and Easy RESTful Service build with Spring MVC and Hibernate

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%

AltStyle によって変換されたページ (->オリジナル) /