In Vaadin, an Application represents the sum of all the components organized in Windows, Layouts and having a theme applied. The central class representing an application is the com.vaadin.Application class.
His responsibilities include the following:
- Managing windows
- Callbacks during the lifecycle of the application
- Setting themes
On our groovy class, we need first launch the future application, lets call it the VaadinCalculator and add the two spock methods setup() and cleanup().