Correct Scope for vaadin 8 and spring

105 Views Asked by At

I have a project, work with Vaadin 8.6 and Spring 5, and vaadin-spring 3.1.1 In this, there is MainUI extends UI that a bean with scope="prototype" initialized in web-application-context.xml

Problem: when we connect to project from more than one client (browser), there is only one session available.

we search and find some manuals, but we can not use it in our project

<bean id="mainUI" class="ir.fanap.fanitoring.ui.MainUI" scope="prototype">

Vaadin Spring Add-on

how can we solve this problem? we did not use annotations for beans and all beans initialized in web-application-context.xml

0

There are 0 best solutions below