Regarding annotation they have mentioned in Version 8 also.
https://vaadin.com/docs/v8/framework/articles/IIInjectionAndScopes.html
Regarding annotation they have mentioned in Version 8 also.
https://vaadin.com/docs/v8/framework/articles/IIInjectionAndScopes.html