Use Vaadin with CDI

    XML

    Minimum requirement is CDI 1.2 API, and a provided implementation. In practice other Java EE/Jakarta EE features are used together with CDI, so the most simple way is ensure you have a Java EE 7 container or newer.

    Configuration

    Otherwise you can customize it just like the original Vaadin Servlet. No special CDI config options exist.