Skip to content
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.

Project described on Codingpedia.org in the blog post: "Tutorial – REST API design and implementation in Java with Jersey and Spring"

License

Notifications You must be signed in to change notification settings

kolobych/demo-rest-jersey-spring

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-rest-jersey-spring @ Codingpedia.org 100%

Prerequisites:

  • MySQL 5.5 or 5.6
  • IDE ( preffered Eclipse 4.3+)
  • JDK 1.7 (if you want to use Jetty 9 with the jetty-maven-plugin from project)
  • Maven 3.*

Install and run the project

  1. download/clone the project
  2. prepare the database
  1. change to the root folder of the project and excute the following maven command
  • mvn clean install jetty:run -Djetty.port=8888 -DskipTests=true
  • now the REST api is up and running with Jetty on localhost:8888

Note: you could run a similar configuration from Eclipse if you have the m2e plugin installed - see pic below

Note: after you mvn install the application, you can deploy the generated .war file in any web container like Tomcat for example.

Testing the project

From Maven (failsafe plugin)

Run the following maven command on the console in the root directory of the project

mvn clean install verify -Djetty.port=8888

OR

the same in Eclipse Eclipse run configuration

SoapUI (recommended)

Go to blog post

Tutorial – REST API design and implementation in Java with Jersey and Spring - complete explanation of this implementation.

Changelog

License

MIT © Codingpedia.org

About

Project described on Codingpedia.org in the blog post: "Tutorial – REST API design and implementation in Java with Jersey and Spring"

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%