O'Reilly logo

Vaadin 7 Cookbook by Ondrej Kvasnovsky, Jaroslav Holan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Updating the noticeboard using the Refresher add-on

This recipe is about the online sharing of information between more applications. We will create a public noticeboard, as in the following screenshot. Users can open this application in web browsers on different computers. Each of them sees the same, shared board. Users can move and edit any note and other users can see it live. In this recipe, we will see how to use the Refresher add-on. This component makes it possible to make UI changes, even if the user does not start a transaction.

Updating the noticeboard using the Refresher add-on

Getting ready

  1. We create a Vaadin project with main UI class called Demo.
    public class Demo extends UI {…}
    
  2. We will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required