Skip to content

Best Of Hello World: Startup Source for Jersey 2

Notifications You must be signed in to change notification settings

get2mandar/Jersey2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jersey2

Best Of Hello World: Jersey 2

Say Hello

This is a simple example of REST API creation with Jersey 2. This project gives an idea about how to use Jersey 2 HTTP Request and Response in a Controller.

Getting Started

This sample code is fully executable on its own based on the prerequisites are set up properly.

Prerequisites

You are required to have few tools before you start with using the source code.

  • JDK (1.8 or above)
  • Maven
  • IDE (Recommended - Eclipse)
  • Tomcat or JBoss (Any Web Server to run this web Application)
  • Git

Install JDK, Maven and Git as first step, before you get the the code base setup.

Setup Code Base

Use below URL to Clone Source Code

git clone https://github.com/get2mandar/Jersey2.git

Build a Project using Maven by Command Line.
Change Directory to Downloaded Project Directory and execute below Maven Command.

mvn clean install

Run

Run the Java Class blog.panditmandar.code.jersey.RESTJerseyHelloWorldApp to execute this Application.

About

Best Of Hello World: Startup Source for Jersey 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages