"official" way to use cdi in vaadin 7

What is the official way to use cdi in vaadin 7? Is it cdi-utils or vaadin-cdi-integration or what?

I use cdi-utils but I’m missing documentation for example about using cdi all over my application. Do I have to annotate each class as UIScoped when I need injection in it? Or do I have to annotate just the UI class?

Thanx.


Vaadin CDI
is an official product by Vaadin - although, it is not yet released. Alpha version of Vaadin CDI is due at the end of this month.

  • Kim