About Rajith Delantha

Rajith is an software engineer, open source contributor and love to develop application based on open source projects.

Run Vaadin Apps in Intellij IDEA

In this article I’m going to show you how to run vaadin applications with Intellij IDEA. Vaadin provide some plugins for Eclipse and Netbeans. But for Intellij IDEA there are no plugins yet. But to deploy vaadin app is easier than other two IDEs.
Here are the steps that you want to follow.
1. First Create a New Project , File –> New Project –> Create Project From Scratch –> Give sample_vaadin as application name and select Java module click Next –> Next.
Now Select Web Application as Technology and click Finish.
2. Now create a lib folder in web/WEB-INF/lib and copy the vaadin jar file into the folder. You can get the latest vaadin jar file http://vaadin.com/home . Now the Project hierarchy looks like this.
3.After that File –> Project Structure –> Artifacts . In below you can see some error and click Fix button. That will add vaadin jar file to your exploded war. Now Click OK.
4. To deploy your application you need a web server. So in here I use tomcat 7. To config it,
Run –> Edit Configuration –> Click + sign –>Select Tomcat –> localhost .
Give vaadin as Name and Select tomcat as Application Server (If the server is not there Click configure and goto the tomcat path it will automatically recognize it)
5. Now create some hello world programme according to vaadin book and click the Run button to deploy it.
Related Whitepaper:

Transforming a Generic Java IDE to Your Application Specific IDE

Improve software development by passing along shared knowledge and best practices.

One of the biggest challenges in application development today is how to factor in application-specific information. The answer lies in the ability to capture application evolution and developers' knowledge of building and extending the application as metadata so that it's not lost in time or translation. Once that can be done effectively, the combination of the application code along with application-specific metadata can be meaningfully packaged into reusable software asset modules. This white paper will discuss how 'Application Factories' can transform an IDE to play a central role in capturing both the application evolution and the developers' knowledge.

Get it Now!  

Leave a Reply


8 + two =



Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use | Privacy Policy
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.

Sign up for our Newsletter

20,709 insiders are already enjoying weekly updates and complimentary whitepapers! Join them now to gain exclusive access to the latest news in the Java world, as well as insights about Android, Scala, Groovy and other related technologies.

As an extra bonus, by joining you will get our brand new e-books, published by Java Code Geeks and their JCG partners for your reading pleasure! Enter your info and stay on top of things,

  • Fresh trends
  • Cases and examples
  • Research and insights
  • Two complimentary e-books