Vaadin for Maven Users
It is now easy for Maven users to enhance their web projects with Vaadin user interfaces. The latest 6.1 version of the Vaadin Java web library is now available also for Maven users, via the Maven central repository.
Here is a small usage sample:
mvn archetype:generate -DarchetypeGroupId=com.vaadin
Google App Engine Support
Another great addition is the support for Google App Engine. This means that you can deploy your Vaadin applications in Google App Engine directly. Build and deploy your applications from Eclipse using the Vaadin plugin for Eclipse.
You have two different ways of using Vaadin together with the Google App Engine:
Using the Google Plugin for Eclipse:
- Create a new "Web Application Project" (Google's project type)
- Uncheck "Use Google Web Toolkit"
- Copy vaadin-6.1.0.jar to war/WEB-INF/lib
- Add vaadin-6.1.0.jar to the build path
- Add <sessions-enabled>true</sessions-enabled> to appengine-web.xml
- Create an application
- Set up web.xml to use GAEApplicationServlet and the created application
Pretty straight-forward. The only disadvantage is that the refactoring features of the Vaadin plugin are no longer available.
Another way is to use the Vaadin plugin for Eclipse to create the project:
- Create a new "Dynamic Web Project".
- Enable "Vaadin Configuration"
- Set webcontent directory to "war" on page 2.
- Open project preferences
- Check "Use Google App Engine" in Google/App Engine
- Fix the error in the project by using Ctrl-1 and Finish (adds appengine-web.xml)
<sessions-enabled>true</sessions-enabled> to appengine-web.xml
- Modify the web.xml to use
GAEApplicationServlet instead of
- Deploy the example application
In addition to these new features the 6.1.0 version of Vaadin contains client-side and server-side performance optimizations. For more information, please take a look at the official release notes.
Download Vaadin 6.1 here.