Skip to content

at6ue/tomcat_embed-jersey

Repository files navigation

Playground for Jersey on Embedded Tomcat

How to start

gradlew run to launch the server on port 8080.

Contents

  • (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 as basic.
  • 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.

Author

atti

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published