Docs

Documentation versions (currently viewingVaadin 24)

The Application Layer

How to build the application layer of Vaadin applications.

Vaadin applications consist of two conceptual layers: the presentation layer, and the application layer. The presentation layer contains the user interface, and the application layer everything else in the application.

From the point of view of the presentation layer, the application layer is a black box with an API. The presentation layer calls this API to interact with the application layer:

The presentation layer calls the application layer through its API

The presentation layer only cares about the API. As long as it remains the same, the rest of the application layer can change and grow as needed. Because of this, getting this API right is key to building extendable and evolvable Vaadin applications.

In practice, the API consists of application services. These services can then talk to other system components, like the domain model, repositories, external systems, background jobs, and so on.

Topics

Application Services
How to design application services.
Background Jobs
How to handle background jobs.
Data Consistency
How to ensure data consistency in your applications.
Domain Primitives
Learn what are domain primitives and how to use them in applications.
Persistence
How do handle persistence in Vaadin applications.