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)

Connecting to SQL Databases Using JDBC

Managing information means performing operations such as storing, modifying, removing, sorting, arranging, linking, and matching data in a data store. Database management systems provide the means to perform these operations and relational databases are the most common type of data store used with web applications.

This chapter starts by briefly discussing the fundamental Java technology for persistence, Java Database Connectivity (JDBC). We will learn how to connect and how to consume data from a relational database using connection pools and SQL queries. We will also describe the concept of a data repository, a way of encapsulating persistence implementation details.

We will develop a very simple web UI that lists data from a database. The purpose of the example is to show you the very fundamentals of database connectivity. Chapter 6, Connecting...