This is an example of a Vaadin 23 servlet running in an embedded Jetty server with Guice as a dependency injection framework.
Check out my Vaadin addons.
Honestly, I do not know...
Personally, I do not like the Jetty and Guice parts of this stack, but work with them professionally. I have seen it done many ways, and this is my take on it.
This repository and its contents are licensed by BSD 3-Clause.
In other words, feel free to use this in your projects, but please give credits to its author(s).
If you like my work and want to support it, please consider sponsoring me. It's how I make the time to code great things!