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.
Permalink
Failed to load latest commit information.
src
.gitignore
LICENSE
README.md
pom.xml

README.md

##demo-restWS-spring-jersey-tomcat-mybatis

Install and run the project

Prerequisites:

  • 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 Codingpedia.org

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

Related posts

==

License

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