How to apply Server Push features in custom component in existing applicati

Hi,

I developed a Vaadin application using version 7.0.6 version. Recently i have moved the application to version 7.4.0. I am trying to implement server push concept in the application. Especially in a custom component in a screen. Just instruct me how to implement server push in the custom component. I came know to that UI can’t be called inside another UI. Please help me!!!

Hi,

Make sure you have everything you need enabled for push, and then annotate your UI with @Push. Also remember to do any updates to components within the UI.access() method to handle locking. See https://vaadin.com/book/-/page/advanced.push.html