https://github.com/sergiomt/minimal-standalone-rest-service
Minimum implementation of a standalone REST service using Jersey
https://github.com/sergiomt/minimal-standalone-rest-service
java jersey rest rest-server
Last synced: about 2 months ago
JSON representation
Minimum implementation of a standalone REST service using Jersey
- Host: GitHub
- URL: https://github.com/sergiomt/minimal-standalone-rest-service
- Owner: sergiomt
- License: apache-2.0
- Created: 2018-02-28T19:11:16.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-28T19:18:14.000Z (over 8 years ago)
- Last Synced: 2025-03-11T00:38:27.553Z (over 1 year ago)
- Topics: java, jersey, rest, rest-server
- Language: Java
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Minimal standalone REST service
Minimum implementation of a standalone REST service using Jersey.
This project generates a "fat JAR" standalone-rest-1.0-jar-with-dependencies.jar which self-contains all the required dependencies for an HTTP REST service.
From the command line execute:
`mvn install`
then move to the /target folder and execute
`java -jar standalone-rest-1.0-jar-with-dependencies.jar`
To test, go to your web browser and type:
http://localhost:9999/hello/