Holon platform examples: Vaadin Flow UI
This is one of the Holon Platform example projects.
This example shows how to setup a simple web application using Vaadin Flow as UI engine and the Holon Platform Vaadin Flow module, wich provides integration with the Holon Platform foundation architecture, such as the
Property model and the
This example addresses the following topics:
- Setup a web application using the Holon Platform Vaadin Flow integration and Spring Boot auto-configuration support.
@ Use the
@QueryParameterannotation to inject query parameter values in routing targets.
- Use the
NavigatorAPI to handle application routing.
- Use the Holon Platform
DatastoreAPI with the Vaadin components to display and manage a data entity.
The Product class represents the property model for a simple product data entity.
Datastore backed by a H2 database is used for product data persistence, using a table named
products created using the
schema.sql file and populated using the
This application is composed by three routes:
- Home: the home view, listing all the available products and allowing to: edit the product data by clicking on a row, delete a product using a component column.
- Manage: manages the product data, providing an input form to create or update a product.
Run this example
This example is configured using Spring Boot, so you just have to run the
Application class, open a web browser and navigate to:
The complete Holon Platform reference guide is available here.
For the specific documentation about the modules and the components used in this example see:
The Holon Platform is built using Java 8, so you need a JRE/JDK version 8 or above to build and run this example projects.
Holon Platform Examples
See Holon Platform Examples for the examples directory.