# server-side-web-component **Repository Path**: mirrors_vaadin/server-side-web-component ## Basic Information - **Project Name**: server-side-web-component - **Description**: An example of creating web components using server side Java - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-11-23 - **Last Updated**: 2026-05-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Uses the new web component export feature of Flow 1.5 to export server side Java classes as web components. For example ``` @Tag("my-fancy-component") public static class MyFancyComponentExporter implements WebComponentExporter { @Override public void define(WebComponentDefinition definition) { definition.addProperty("response", "Hello").onChange((component, value) -> { component.response = value; }); definition.addProperty("message", "").onChange((component, value) -> { component.setMessage(value); }); } } ``` exports the component class `MyFancyComponent` and publishes two properties `message` and `response`. If these are changed in the browser, the corresponding field in the component is updated or the corresponding method is called.