|I had the chance to see a presentation of Vaadin with Nicolas Fränkel, who also write an interesting book “Learning Vaadin“. Vaadin is a new Java web framework for making applications look great and perform well, making your users happy. He promises to make your user interfaces attractive and usable while easing your development effort and boosting your productivity.
Vaadin change the way you write web application by thinking application and events process. That’s a great news, write a Swing application or a web application will be the same. No more changing the way to write you app. So I grab a book edition and run on my computer to try Vaddin.
Creating a Maven Project
Before starting our Vaadin project you need to create a Maven project with the Vaadin Maven archetype as explain on Using Vaadin with Maven
mvn archetype:generate -DarchetypeGroupId=com.vaadin -DarchetypeArtifactId=vaadin-archetype-clean -DarchetypeVersion=LATEST -DgroupId=your.company -DartifactId=project-name -Dversion=1.0 -Dpackaging=war
Running the Application
Your project should be ready now and you can launch a testing application with mvn jetty:run and then open your browser under http://localhost:8080/.
The pom has everything ready to work on your Vaadin application.