Spring + Vaadin annotation @Autowired in UI
<p>i am working now with Spring + Vaadin JSP integration. I am working on admin panel for internet store.
I had already done Spring server and successfully added Vaadin UI into it, but annotation( @Autowired and etc.) in vaadin UI is not working, because the server is devided on two servlets(dispacherServlet and vaadinServlet). The most of server pages work with dispacher servlet and only admin panel work with Vaadin. I need connect JPA Repository and Service to vaadin UI. Could you please help me fix it and connect service to UI.
UI Class:</p>

<pre><code>@Theme("valo")
@Title("Administration panel")
@SpringUI
public class Administration extends UI {

    @Autowired
    LoginService service;  //null

    @Override
    protected void init(VaadinRequest request) {
        AbsoluteLayout layout = new AbsoluteLayout();
        setContent(layout);
        TabSheet tabs = new TabSheet();
        tabs.setSizeFull();
        UsersTab usersTab= new UsersTab();
        CategoriesTab categoriesTab = new CategoriesTab();
        tabs.addComponent(usersTab.getLayout());
        tabs.addComponent(categoriesTab.getLayout());
        layout.addComponent(tabs);
    }
    @WebServlet(urlPatterns = {"/administration","/administration/*","/VAADIN/*"},asyncSupported = true)
    @VaadinServletConfiguration(ui = Administration.class, productionMode = false)
    public static class AdministrationVaadinServlet extends VaadinServlet
    {
    }
}
</code></pre>