Annotations

Hi there!

I’m using Vaadin in a JEE 6 context with JPA 2.0 and Hibernate. I’ve seen that annotations only work in the Application class or in EJB.
To implement bussiness logic I’m using EJB’s. To connect this EJB’s to the GUI i would like to use annotations (@EJB) instead of the BeanLocator pattern because it’s really ugly.

Is there a way to use annotations in Vaading GUI classes? (annotations not BeanLocator!)

Thank you,
Matthias

Have a look at the solution suggested in:
https://vaadin.com/wiki/-/wiki/Main/Creating%20JEE6%20Vaadin%20Applications
.