Preloader image

Vaadin V10 (LTS) - Simple WebApp in Java

This demo will show how to start with a simple Vaadin V10 webapp, based on pure Java API running on TomEE (webprofile)

The Vaadin Platform is OpenSource and available at Github

Build this example

To build this example, just run mvn clean install tomee:run You will find the app running under http://localhost:8080/

Implementation

This implementation is using the Flow API from the Vaadin Platform.

@Route("")
public class HelloVaadinV10 extends Composite<Div> {
    public HelloVaadinV10() {
        final VerticalLayout layout = new VerticalLayout();
        layout
            .add(new Button("click me",
                            event -> layout.add(new Label("clicked again"))
            ));
        //set the main Component
        getContent().add(layout);
    }
}

The documentation of the Vaadin Platform V10 is available here

Support Information’s

As of Vaadin 10, Vaadin is moving to a release train model with four major releases every year. This allows them to ship new features faster to developers. Vaadin is continuing their commitment to long-term stability with long-term support (LTS) releases. The LTS releases will come out approximately every two years and offer 5 years of support.