Minimalistic RESTful web service in Java(Jersey)
Absent
Yet absent
Оther dependencies are transitive and therefore installed under the hood.
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.
Being in the just generated web-service directory, run:
mvn clean install
As a result, a distribution war-file will be obtained.
The war distribution then should be deployed on any Java servlet container: Tomcat, Jetty, ...
The service can be tested from the browser by typing the corresponding URL (depends on the servlet container specific) in its address bar.
mvn archetype generation of Jersey 2.28
Licensed under the MIT license.