码迷,mamicode.com
首页 > 编程语言 > 详细

Spring 4.x MVC and RESTful service Demo

时间:2015-02-10 02:04:11      阅读:171      评论:0      收藏:0      [点我收藏+]

标签:

This project will demo the techniques that would be used in our project. This version 1 will be just a general-purpose website, it has front-end and backend, the backend requires login. The documentation is still ongoing.

技术分享

Todo

  1. webservices security(done)
  2. Asked one question on stackoverflow (not replied)
  3. A simple Android native client consuming RESTful service.
  4. A hybrid mobile client consuming RESTful service.

How to setup

  1. Get the code git clone https://github.com/uniquejava/spring4_rest.git

  2. Open project in eclipse, the maven plugin should automatically download the required jars.

  3. Run script doc/sql/mysql.sql

  4. Deploy to Tomcat

  5. Open in browser: http://localhost:8080/rest/

Components

  1. spring 4.1.4
  2. jackson 2.5
  3. bootstrap-3.3.2
  4. jquery-1.11.2

Features(v1)

  1. RESTful CRUD (@RestController in Spring4.x)
  2. Slf4j + logback Log4j
  3. Error handling

Environment

Here is the environment I am working on.

  1. Ubuntu12.04.5 LTS
  2. Eclipse JEE 4.3
  3. Tomcat 7.0.57
  4. JDK1.6.0_45

However, this project is fully tested on Win7 + WAS8.5

Spring 4.x MVC and RESTful service Demo

标签:

原文地址:http://my.oschina.net/uniquejava/blog/377129

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!