Vaadin

Uses your system voice; voice and rate in settings.

Snapshot

≈ 5 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

Vaadin ( ) is an open-source web application development platform for Java. Vaadin includes a set of Web Components, a Java web framework, and a set of tools that enable developers to implement modern web graphical user interfaces (GUI) using the Java programming language only (instead of HTML and JavaScript), TypeScript only, or a combination of both.

Vaadin ( ) is an open-source web application development platform for Java. Vaadin includes a set of Web Components, a Java web framework, and a set of tools that enable developers to implement modern web graphical user interfaces (GUI) using the Java programming language only (instead of HTML and JavaScript), TypeScript only, or a combination of both.

History

Development began as the Millstone web framework in 2000. It was first released as open-source in 20021. Millstone introduced a component-oriented programming model for the web and an Ajax-based client communication and rendering engine. As a result, a large part of Vaadin's server-side API remains compatible with Millstone's Swing-like APIs. In early 2007 the product name was changed to IT Mill Toolkit and version 4 was released. It used a proprietary JavaScript Ajax-implementation for the client-side rendering, which made it rather complicated to implement new widgets. By the end of the year 2007 the proprietary client-side implementation was abandoned and GWT was integrated on top of the server-side components. At the same time, the product license was changed to the open source Apache License 2.0. The first production-ready release of IT Mill Toolkit 5 was made on March 4, 2009, after an over one year beta period. On September 11, 2008, it was publicly announced that Michael Widenius–the main author of the original version of MySQL–invested in IT Mill, the Finnish developer of Vaadin. The size of the investment is undisclosed. On May 20, 2009, IT Mill Toolkit changed its name to Vaadin Framework. The name originates from the Finnish word for doe, more precisely put, a female reindeer. It can also be translated from Finnish as "I insist". In addition to the name change, a pre-release of version 6 along with a community website was launched. Later, IT Mill Ltd, the company behind the open source Vaadin Framework, changed its name to Vaadin Ltd. On March 30, 2010, Vaadin Directory was opened. It added a channel for distributing add-on components to the core Vaadin Framework, both for free or commercially. On launch date, there were 95 add-ons already available for download.

Vaadin Flow (Java API)

Vaadin Flow (formerly Vaadin Framework) is a Java web framework for building web applications and websites. Vaadin Flow's programming model allows developers to use Java as the programming language for implementing User Interfaces (UIs) without having to directly use HTML or JavaScript. Vaadin Flow features a server-side architecture which means that most of the UI logic runs securely on the server reducing the exposure to attackers. On the client-side, Vaadin Flow is built on top of Web Component standards. The client/server communication is automatically handled through WebSocket or HTTP with light JSON messages that update both, the UI in the browser and the UI state in the server. Vaadin Flow's Java API includes classes such as TextField , Button , ComboBox , Grid , and many others that can be configured, styled, and added into layout objects instances of classes such as VerticalLayout , HorizontalLayout , SplitLayout , and others. Behaviour is implemented by adding listeners to events such as clicks, input value changes, and others. Views are created by custom Java classes that implement another UI component (custom or provided by the framework). This view classes are annotated with @Route to expose them to the browser with a specific URL. The following example illustrates these concepts: @Route("hello-world") // exposes the view through http://localhost:8080/hello-world public class MainView extends VerticalLayout { // extends an existing UI component public MainView() { // creates a text field TextField textField = new TextField("Enter your name"); // creates a button Button button = new Button("Send"); // adds behaviour to the button using the click event button.addClickListener(event -> add(new Paragraph("Hello, " + textField.getValue())) ); // adds the UI components to the view (VerticalLayout) add(textField, button); } } The following is a screenshot of the previous example: Hilla (formerly Vaadin Fusion) is a web framework that integrates Spring Boot Java backends with reactive front ends implemented in TypeScript. This combination offers a fully type-safe development platform by combining server-side business logic in Java and type-safety in the client side with the TypeScript programming language. Views are implemented using Lit—a lightweight library for creating Web Components. The following is an example of a basic view implemented with Hilla: @customElement('hello-world-view') export class HelloWorldView extends LitElement { render() { return html` Say hello `; } sayHello() { showNotification('Hello!'); } } Starting in October 2025, Hilla is being discontinued as a stand-alone product and merged into Flow.

References

External links

Vaadin on GitHub

Text derived from https://en.wikipedia.org/w/index.php?oldid=1378530114 under CC BY-SA 4.0; modifications have been made.

References

  1. ↩Wikipedia release date (×1) · confidence 0.95 https://en.wikipedia.org/w/index.php?oldid=1378530114

Sources cited in this revision

Extracted from the cited revision's reference blocks; absent citations are not invented.