© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
A. DuartePractical Vaadinhttps://doi.org/10.1007/978-1-4842-7179-7_8

8. Server Push

Alejandro Duarte1  
(1)
Turku, Finland
 

Server Push is a feature in Vaadin that allows you to update the UI without the need of user interaction. For example, you might want to show the progress of a task that’s running in the server or notify the user about a new working item being available.

Activating and using Server Push in Vaadin is pretty straightforward and requires only an annotation and a call to the UI:access(Command) method. In this chapter, you’ll learn what Server Push is, when to use it, how to use it, and the configuration options that are available to you.

When ...

Get Practical Vaadin: Developing Web Applications in Java now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.