Holon platform examples: Vaadin UI
This is one of the Holon Platform example projects.
This example shows how to setup a simple web application using Vaadin 8 as UI engine and the Holon Platform Vaadin module, wich provides Vaadin UI builders and integration with the Holon Platform foundation architecture, such as the
Property model and the
The Holon Platform
ViewNavigator will be used to configure and manage the application's views.
This example addresses the following topics:
- Setup a web application using the Holon Platform Vaadin integration and Spring Boot auto-configuration support
- Use the
ViewNavigatorto configure the application views and hanlde navigation operations
- Use the Holon Platform
DatastoreAPI with the platform Vaadin integration 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 views:
- Home: the home view, listing all the available products and allowing to display the product data by clicking on a row
- View: displays a product in an application window, providing the "Edit" and "Delete" operations
- 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.