We need to override VaadinServlet, UIProvider and UI class to provide CDI support in Vaadin application.
Servlet Code
UI Provider
UI