GithubHelp home page GithubHelp logo

roshanatl / demo-rest-jersey-spring Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codepediaorg/demo-rest-jersey-spring

0.0 2.0 0.0 346 KB

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

Home Page: http://www.codingpedia.org/ama/tutorial-rest-api-design-and-implementation-in-java-with-jersey-and-spring/

License: MIT License

Java 100.00%

demo-rest-jersey-spring's Introduction

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

demo-rest-jersey-spring's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.