Skip to content

hellofadude/jersey_rest_framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jersey_rest_framework - gradle build system

This project is intended for use as a template to quickly develop and test RESTful services using an embedded lightweight http container or java based server (like Jetty) that can be configured and started programatically using Jersey RESTful Webservices framework on top of a gradle build pipeline.

The project contains build and deployment settings and certain container configuration that should make it very easy to check out and modify for your development needs.

The app itself contains a minimalist HelloResource that exposes a 'greeting' interface. A Junit test is also included to test the service.

Getting started

To get you started simply clone or download this repository. You will need to get git from here

Prerequisites

You will need to put together a gradle build pipeline and set your IDE to use JDK 1.8

Run the project

To run the project enter any of the following commands from the project root

$gradle build
$gradle test

Publish the project

You can publish your project onto your embedded Jetty server using the following command

$gradle appRun

You server should start up promptly. You can browse to your service - http://localhost:8080/jersey_rest_framework

For more on Jersey RESTful WebServices framework, please visit Project Jersey

About

Jersey RESTful WebServices framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages