Book Image

Data-Centric Applications with Vaadin 8

By : Alejandro Duarte
Book Image

Data-Centric Applications with Vaadin 8

By: Alejandro Duarte

Overview of this book

Vaadin is an open-source Java framework used to build modern user interfaces. Vaadin 8 simplifies application development and improves user experience. The book begins with an overview of the architecture of Vaadin applications and the way you can organize your code in modules.Then it moves to the more advanced topics about advanced topics such as internationalization, authentication, authorization, and database connectivity. The book also teaches you how to implement CRUD views, how to generate printable reports, and how to manage data with lazy loading. By the end of this book you will be able to architect, implement, and deploy stunning Vaadin applications, and have the knowledge to master web development with Vaadin.
Table of Contents (11 chapters)

The example application

We will develop a simple application to test Vaadin's capability to show hundreds of thousands of rows in a Grid component. The users can filter the data in the Grid by typing a filter text that the application matches against three of the columns (Client, Phone Number, and City). The users can also change the position of the columns (by dragging them from the header) and order the rows (by clicking on the column headers). The following is a screenshot of the example application:

The data model

This chapter uses the same data model used in Chapter 8, Adding Reporting Capabilities. The data model is based on a simple SQL table, Call. We'll use JPA to connect to a file-based H2 database. The...