How vaadin/flow works
Vaadin Flow is a Java framework for building web applications. A request enters through the servlet integration and service layer; the framework provides UI/component and routing abstractions, while a browser-side client supports application interaction. The tree also shows frontend dependency scanning and build-tool capabilities. The excerpts confirm servlet-to-service creation and UI-backed browser storage operations; most links between runtime subsystems are not shown, so those connections are omitted rather than inferred.
Main entry points: VaadinService.java Flow Service · FlowClient.js Client Runtime · VaadinServlet.java Servlet Entry · VaadinServletService.java Servlet Service
Components 18
Server Runtime
- Servlet Entry
flow-server/src/main/java/com/vaadin/flow/server/VaadinServlet.java - Flow Service
flow-server/src/main/java/com/vaadin/flow/server/VaadinService.java - Servlet Service
flow-server/src/main/java/com/vaadin/flow/server/VaadinServletService.java - Deployment Config
flow-server/src/main/java/com/vaadin/flow/function/DeploymentConfiguration.java - Instance Creation
flow-server/src/main/java/com/vaadin/flow/di/Instantiator.java
UI and Routing
- Components
flow-server/src/main/java/com/vaadin/flow/component/Component.java - UI State
flow-server/src/main/java/com/vaadin/flow/component/UI.java - Server Routing
flow-server/src/main/java/com/vaadin/flow/router/Router.java - Web Storage API
flow-server/src/main/java/com/vaadin/flow/component/page/WebStorage.java
Browser Runtime
- Client Bootstrap
flow-client/src/main/frontend/FlowBootstrap.js - Client Runtime
flow-client/src/main/frontend/FlowClient.js - Server Communication
flow-client/src/main/frontend/internal/client/communication/ServerConnector.ts - Client State Tree
flow-client/src/main/frontend/internal/client/flow/StateTree.ts
Frontend Tooling
- Frontend Scanner
flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/scanner/FrontendDependenciesScanner.java - Frontend Tasks
flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/TaskGenerateBootstrap.java - Node Installation
flow-build-tools/src/main/java/com/vaadin/flow/server/frontend/installer/NodeInstaller.java
Other components
- Application Developer
- Browser User
Connections 15
- Servlet Entry → Servlet Service: creates service
flow-server/src/main/java/com/vaadin/flow/server/VaadinServlet.java - Servlet Service → Deployment Config: accepts config
flow-server/src/main/java/com/vaadin/flow/server/VaadinServlet.java - Flow Service → Server Routing: uses routing
flow-server/src/main/java/com/vaadin/flow/server/VaadinService.java - Flow Service → UI State: uses UI
flow-server/src/main/java/com/vaadin/flow/server/VaadinService.java - Flow Service → Instance Creation: uses instantiator
flow-server/src/main/java/com/vaadin/flow/server/VaadinService.java - Instance Creation → Components: creates components
flow-server/src/main/java/com/vaadin/flow/di/Instantiator.java - Web Storage API → UI State: executes JavaScript
flow-server/src/main/java/com/vaadin/flow/component/page/WebStorage.java - Application Developer → Servlet Entry: configures app
- Browser User → Client Bootstrap: opens app
- Client Bootstrap → Client Runtime: starts client
- Client Runtime → Server Communication: uses connection
- Client Runtime → Client State Tree: updates state
- Application Developer → Frontend Scanner: provides app
- Frontend Scanner → Frontend Tasks: informs generation
- Frontend Tasks → Node Installation: requires Node