gradlew run
to launch the server on port 8080.
- (root) is the context root and will return a static content.
- basic is routed in
web.xml
and will return a plaintext message. - app is the the root resource of the
app
application path, and is the same resource asbasic
. - app/greeting is a demonstration of dependency injection.
- app/positive is a demonstration of transaction.
- GET shows the current value.
- PUT a positive or negative number into the request body to add the value, but the value will never be negative.
- app/validation/{id} is a demonstration of Bean Validation.
atti
This project is licensed under the MIT License - see the LICENSE.md file for details