This project would demo the techniques that would is used in our project. This version 1 is just a general-purpose website, it has front-end and backend, the backend requires login. The documentation is still ongoing.
Todo
- webservices Security (done)
- Asked one question on StackOverflow (not replied)
- A simple Android Native Client consuming RESTful service.
- A Hybrid Mobile Client consuming RESTful service.
How to Setup
Get the code git clone https://github.com/uniquejava/spring4_rest.git
Open project in Eclipse, the Maven plugin should automatically download the required jars.
Run Script Doc/sql/mysql.sql
Deploy to Tomcat
Open in Browser: http://localhost:8080/rest/
Components
- Spring 4.1.4
- Jackson 2.5
- bootstrap-3.3.2
- jquery-1.11.2
Features (v1)
- RESTful CRUD (@RestController in spring4.x)
- SLF4J + Logback log4j
- Error Handling
Environment
The environment I am working on.
- Ubuntu12.04.5 LTS
- Eclipse JEE 4.3
- Tomcat 7.0.57
- Jdk1.6.0_45
However, this project was fully tested on Win7 + WAS8.5
Spring 4.x MVC and RESTful service Demo