Getting Started

Project Setup

Prerequisites

To start this project, you need

  • Java 8

  • your favorite Java IDE

  • Maven

  • a modern browser

Maven

Apart from linkki we require Vaadin as dependency:

            <dependency>
                <groupId>com.vaadin</groupId>
                <artifactId>vaadin-server</artifactId>
                <version>${vaadin.version}</version>
            </dependency>
            <dependency>
                <groupId>com.vaadin</groupId>
                <artifactId>vaadin-client-compiled</artifactId>
                <version>${vaadin.version}</version>
            </dependency>
            <dependency>
                <groupId>com.vaadin</groupId>
                <artifactId>vaadin-themes</artifactId>
                <version>${vaadin.version}</version>
            </dependency>

And the matching UI framework dependent linkki module:

            <dependency>
                <groupId>org.linkki-framework</groupId>
                <artifactId>linkki-core-vaadin7</artifactId>
                <version>${linkki.version}</version>
            </dependency>

In the above example, we are creating a web application that is packaged as war, as it is needed for the linkki example.

Null analysis

linkki uses Eclipse JDT Annotations for null analysis. If linkki classes are extended (like ContainerPmo for tables), this dependency has to be added in order to compile correctly:

        <dependency>
            <groupId>org.eclipse.jdt</groupId>
            <artifactId>org.eclipse.jdt.annotation</artifactId>
        </dependency>