Push has been added in version 7.3.0.1. Make sure you have this, or later, version of the plugin.
Step 1
Enable anyc in VaadinConfig.groovy.
asyncSupported = true
Step 2
In order to demonstrate Vaadin push, we will create a view that will create a label that will have initial value that will be overriden by a thread. The thread will wait one second and then set other text into the label. Let's say, that we replace waiting by a call to external system, where we expect a delay.
For pusing another label, we create Pusher thread that will change text of the label.