O'Reilly logo

Learning Vaadin by Nicolas Frankel

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Vaadin and other IDEs

In both IDEs, the Vaadin plugin helps us jumpstart a project in a matter of minutes. However, it may be interesting to understand what is really done in the created project by the plugin in case we need to do it manually in other IDEs which don't have such plugins.

Adding the Vaadin library

First, we should add the Vaadin library to the web application's WEB-INF/lib folder. According to Java EE specifications, this means that our code can now access the Vaadin JAR as it is on the web application's classpath.

Creating the application

Then, we also need to create a class named com.packt.vaadin.MyApplication as defined in our preceding sample application. Now, if we look at this class, we can see that it inherits from com.vaadin.Application ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required