##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
==
Codingpedia.org
Blog post onRESTful Web Services Example in Java with Jersey, Spring and MyBatis You will find there detailed explanation of the code
Related posts
- How to add CORS support on the server side in Java with Jersey
- Java Persistence Example with Spring, JPA2 and Hibernate - DB access via JPA/Hibernate implementation for the same project
==
License
Copyright (c) 2014 Codingpedia Association. See the LICENSE file for license rights and limitations (MIT).