I've run into a problem when I use lunifera in an application with multiple servlets.
In this case, org.lunifera.runtime.web.vaadin.osgi.webapp.VaadinApplication throws an error because the class tries to register the same resource /VAADIN multiple times to the httpService in VaadinApplication.registerWebArtifacts().
I've solved this problem using a singleton that counts the resource registrations and registers the resource only the first time. I've done this in my fork on aktion-hip/lunifera-runtime-web.
Are you interested in this solution or do you propose an other solution?
Dear Florian
I've run into a problem when I use lunifera in an application with multiple servlets. In this case, org.lunifera.runtime.web.vaadin.osgi.webapp.VaadinApplication throws an error because the class tries to register the same resource /VAADIN multiple times to the httpService in VaadinApplication.registerWebArtifacts(). I've solved this problem using a singleton that counts the resource registrations and registers the resource only the first time. I've done this in my fork on aktion-hip/lunifera-runtime-web. Are you interested in this solution or do you propose an other solution?
Regards, Benno