Hi, greetings from Argentina! And thanks for such a nice work at vaadin!
I was trying to configure a web-app with vaadin7 and guice (using guice-servlet module).
It turns out that, VaadinServletSession uses a bunch a private methods till it calls
VaadinServletSession#createVaadinSession(HttpServletRequest)
which in turns uses an static factory-method
com.vaadin.server.ServletPortletHelper#initDefaultUIProvider(VaadinSession application, VaadinService)
So, given this situation, apart from copy&paste brutally all this code, changing the UI creation process, I don’t see any possibility of specialize VaadinServletSession to use guice-servlet (and all its posibilities).
Am I missing somethig? Should I copy&paste vaadin original code? Is this point under development?
As I was expecting a nice and easy integration between Vaadin&Guice (as it is with 6.x) I was shocked by this implementation details
Best Regards,
Juanjo
ps: I’ve already see the implementation carried on by ‘codeturn’ which uses init events, but I would apreciate been able to use guice-servlet, not only guice