/jersey-embedded-jetty

Project to show the use of Jetty(v9.2.3) Standalone Server with Jersey(v2.7) implementation of JAX-RS.

Primary LanguageJava

REST - Embedded Jetty demo

This is a sample demo project to show the use of Jetty(v9.2.3) Embedded Server with Jersey(v2.7) implementation of JAX-RS.

Resources Class:

  1. ServerHealthCheck.java
  2. Calculator.java

Standalone Set-up:

  1. App.java - This class has the standalone jetty server with web configuration definded in java class to load the resources.
  2. WebApp.java - This class has the standalone jetty server which uses the web.xml file to load the resources.