multi thread and dynamic webpages

Hi,

I am looking for design pattern / example structure to create java based backend-frontend implementation which supports asycnhronious multi threading interface. What I would like to see is a main page with grid table and other functions. While uploading something to the grid table it should be possible to select another item of the same grid table and open another page associated to that item. Without being locked while the other process is uploading the data.

In other words;

1- being able to independently upload data to a grid table within the main page
2- being able to independently activate other views of items already “available”
3- not having to wait for a function to complete before another function can be started

I have tried async mode but that seems not to work. Uploading something to the grid seems to lock sub-sequent click events until the upload is finished.

a small example of how it should work would be really great.

Thanks and regards, Onno

Have you tried with Server Push? See https://vaadin.com/docs/v8/framework/advanced/advanced-push.html and https://www.youtube.com/watch?v=EG6iizVH1rY&list=PLcRrh9hGNaln3i0stypuu_hxQMXYy8eOU&index=2

Alejandro Duarte:
Have you tried with Server Push? See https://vaadin.com/docs/v8/framework/advanced/advanced-push.html and https://www.youtube.com/watch?v=EG6iizVH1rY&list=PLcRrh9hGNaln3i0stypuu_hxQMXYy8eOU&index=2

Thats the answer I was looking for. Thanks a lot for sharing this video. It seems to work now. I can start an upload of a file and once started I can use other page components without having to wait for upload to finish. Very nice !

Thats the answer I was looking for. Thanks a lot for sharing this video. It seems to work now. I can start an upload of a file and once started I can use other page components without having to wait for upload to finish. Very nice !

Good to hear. Happy coding!