https://github.com/gullerya/jax-rs-template
Template for pure JAX-RS application deployed into Docker based container
https://github.com/gullerya/jax-rs-template
Last synced: 2 months ago
JSON representation
Template for pure JAX-RS application deployed into Docker based container
- Host: GitHub
- URL: https://github.com/gullerya/jax-rs-template
- Owner: gullerya
- Created: 2022-02-08T05:32:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-20T19:49:23.000Z (over 1 year ago)
- Last Synced: 2025-02-02T11:43:35.590Z (4 months ago)
- Language: Java
- Size: 135 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# JAX-RS template for Docker
This project is a copy-pasteable template of a pure JAX-RS application, including the setup to build it into a servlet container based Docker.
## Main aspects:
- application uses ONLY JAX-RS annotations
- bean management by Spring
- logging by SLF4J + LOG4J2
- JAX-RS by Jersey (runtime dependency, no Jersey imports / awareness in the code)
- Docker based deployment, several servlet containers example## JAX-RS features implemented:
- main application initializer
- Resource
- Filter
- ExceptionMapper## Servlet containers:
- Jetty
- Tomcat
- Wildfly (WIP, not yet working)## Running dev (with Jetty plugin, not in Docker)
In order to start the app in a debuggable fashion as a simple Java process,
this project uses Jetty plugin.Execute `mvn jetty:run`