Example to manage Dependency Injection in Vaadin

Hi All,

I’d like adding to my application a dependency injection like in Spring.
Any suggestion about it ?
Moreover, any example of code ?
Cheers.

             Stefano

An old post, but in case someone else stumbles upon this: just google for “vaadin spring” for various wiki articles, add-ons etc. Some of the material might be for older versions, but there is plenty of recent material as well. The add-on
https://github.com/peholmst/vaadin4spring
is quite popular.

Likewise, there is an add-on for CDI (
https://vaadin.com/wiki/-/wiki/Main/Vaadin+CDI
) etc. if you prefer it over Spring.