Skip to content

AlexanderLapygin/rest-api-java-jersey

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rest-api-java-jersey

Minimalistic RESTful web service in Java(Jersey)

Direct ancestors

Absent

Direct descendants

Yet absent

Requirements

Оther dependencies are transitive and therefore installed under the hood.

Code generation

All code of this repository is generated. To create a source code for Servlet container deployable Jersey 2.28 web-service, use

mvn archetype:generate -DarchetypeGroupId=org.glassfish.jersey.archetypes -DarchetypeArtifactId=jersey-quickstart-webapp -DarchetypeVersion=2.28

After several questions and relevant answers, the source code of the web service will be generated.

Build

Being in the just generated web-service directory, run:

mvn clean install

As a result, a distribution war-file will be obtained.

Installation

The war distribution then should be deployed on any Java servlet container: Tomcat, Jetty, ...

Running

The service can be tested from the browser by typing the corresponding URL (depends on the servlet container specific) in its address bar.

Authors

Alexander Lapygin

Inspired by

mvn archetype generation of Jersey 2.28

License

Licensed under the MIT license.

About

Minimalistic RESTful web service in in Java (Jersey)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%