Running multiple instance of Application


I have developed a Vaadin application with various add-ons. Now when I open the application in multiple browsers at the same time by hitting url (http://localhost:8080/poc/) then I can see the same state on both windows and constantly get “out of sync” error

I then went through the forum and tried getWindow() solution as on below link

I am still facing the same issue. Is there something basic I am missing here? Kindly let me know.
Thanks in advance

I have solved my problem. The above mentioned solution works and the problem was in how I had written the code for designing different screens. I was using different layouts in the Servlet which extends Application and hence for multiple instances, I had to move logic into different CustomComponents.

Hope this helps anyone else with the same problem.