Creating Custom Form Fields in Vaadin

Creating well-behaving form fields using CustomField

Developing well-structured Vaadin applications is essentially composing a lot of well-named custom components. Some of those components have a few more responsibilities than giving order and structure to your codebase – namely fields, the components you use in your forms to edit the properties of ...
4 Simple ways to display geospatial features in Vaadin Flow UIs

Four ways to display geospatial features in Vaadin Flow UIs

Java is a commonly used platform to edit geospatial data. There is almost an overload of various tools and libraries available. There are a number of UI widgets for Vaadin that allow you to plot and even edit geospatial information. The unique architecture of Vaadin Flow also allows you to build ...
Kotlin and Vaadin logos side by side in white

Build modern web apps 100% in Kotlin

Build modern web apps in 100% Java is the tagline often used for Vaadin Flow. By changing the language, this could actually apply to Kotlin as well, known for its Kotlin-to-JavaScript transpilation. Kotlin code can be transpiled to JavaScript for execution in the browser, so one could argue that no ...
Responsive Web Design with Java and Vaadin Flow

Building responsive websites with Java and Vaadin Flow

Responsive web design is an approach to building web applications that dynamically change the size or orientation of the visible elements for ideal viewing on viewports of various sizes. At various breakpoints (developer-defined numerical values of viewpoint dimensions), one may notice menus ...
Persist data with pure Java

Persist your data with pure Java

In the fast-paced world of software development, efficiency and simplicity often dictate a project's success. This is why many Java developers have chosen Vaadin. With Vaadin, you can use a single language and execute your code in a single execution environment to create compelling web UIs. This ...
Accessing WebAuthn API with Vaadin

Forget passwords - Accessing WebAuthn API with Vaadin

Various WebAuthn/passkey-related questions have been trending in the Vaadin community, and unsurprisingly so. In 2024, "passkeys" should become the only acceptable authentication method for any self-respecting software craftsman, and passwords should be burnt with 🔥. Some questions have been ...
Asynchronous JavaScript execution in Vaadin Flow

Asynchronous JavaScript execution in Vaadin Flow

Web applications built entirely in Java. That promise holds true when core Vaadin Flow components and browser APIs are enough. However, if you’re creating custom components or using modern asynchronous browser APIs, you’re likely to encounter a very different kind of “Promise.” JavaScript's ...
Learn how to migrate add-ons from Vaadin 8 to Vaadin 24.

How to migrate add-ons from Vaadin 8 to Vaadin 24

If you're familiar with Vaadin, you know that add-ons significantly enhance the development experience. They offer a wealth of additional functionality, widgets, and presentation options for your Vaadin-based applications. Upgrading to a newer Vaadin version can sometimes lead to compatibility ...
Secure Coding practices 2: Binary upload validation

Secure coding practices 2: Binary upload validation

When it comes to web applications, security is a paramount concern, and the Open Web Application Security Project (OWASP) offers essential guidelines to fortify your app against various vulnerabilities. In the previous article of this series, we looked at the basic user input validation. In this ...