Creating a Vaadin Project
IntelliJ IDEA lets you create a project using Vaadin Framework that optimizes your Web applicatin development.
Before you start creating your project make sure that Vaadin SDK is downloaded on your computer and Vaadin plugin is enabled.
Open Project Wizard, under Java or Java Enterprise, select Vaadin framework.
If you selected Java then after selecting Vaadin you might want to specify the Application Server. Select Application Server check box and specify what server you want use for your application. The default application server is Tomcat.
If you selected Java Enterprise then the default application server is specified without additional steps.
On the bottom of the page specify the Vaadin version, Vaadin distribution location and select Create sample application check box.
Note that for InteliJ IDEA 13 and later, you can choose either Vaadin 6 or 7 version.
If Vaadin is installed on your machine, then you just need to enter its location. Otherwise, the warning message with appropriate link appears. Click the link, download "All-in-One Archive" ZIP file and unpack it to the disired location.
Note that if you selected the Vaadin 6 version, you need to download the Vaadin library.
Select Download button and click Configure.
In the dialog that opens, use the default options and click OK.
Specify your project information and click Finish.
Creating Maven Project with Vaadin Archetype
In the Project Wizard, under Maven, select Create from archetype check box and click Add archetype. In the dialog that opens, enter maven GroupId, ArtifactId and Version.
After you click OK, the vaadin archetype is added to the list of available archetypes. Click Next.
On the next page, enter maven information for your project and click Next.
On the next page, enter your project infomation and click Finish.
IntelliJ IDEA creates a maven project with pom.xml. IntelliJ IDEA also recognizes that this is a Web application and creates webapp in your source directory.
Importing an Existing Vaadin Project
Configuring an Application Server
Deploying and Debugging the Application