O'Reilly logo

Learning Vaadin by Nicolas Frankel

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

Data in Vaadin

The good news is that Vaadin brings renderers, editors, and buffering to the table. The bad news is that data is not supported out-of-the-box.

Entity abstraction

Regarding the entity abstraction problem, Vaadin provides a clean design with three interfaces corresponding to a different grouping level:

  • A property level
  • An item level, the item here being the entity
  • A container, representing a collection of related items

Property

We have seen in Chapter 4, Components and Layouts the Property interface. As a reminder, it represents a single isolated value, with accessors available for value, read only indicator and data type (only getter available). In Chapter 5, Event Listener Model we have seen that it also provides a change event listener. ...

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