Project demonstrating REST api implementation with Jersey and Spring (db access via MyBatis)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Install and run the project


  • MySQL 5.5 or 5.6
  • Eclipse (or any other IDE you feel comfortable with)
  • JDK 1.7 (if you want to use Jetty 9 with the jetty-maven-plugin from project)

Create DB schema

Create db schema by running the MySql single file script script against the MySQL database (user/pwd - rest_demo/rest_demo)

Run the example

  • Download/clone the project
  • Import in Eclipse
  • Run Configuration -> Goals clean install jetty:run


Blog post on

RESTful Web Services Example in Java with Jersey, Spring and MyBatis You will find there detailed explanation of the code

Related posts



Copyright (c) 2014 Codingpedia Association. See the LICENSE file for license rights and limitations (MIT).