Vaadin 6.1 goes to Maven and adds Google App Engine support

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:

  1. Create a new "Web Application Project" (Google's project type)
  2. Uncheck "Use Google Web Toolkit"
  3. Copy vaadin-6.1.0.jar to war/WEB-INF/lib
  4. Add vaadin-6.1.0.jar to the build path
  5. Add <sessions-enabled>true</sessions-enabled> to appengine-web.xml
  6. Create an application
  7. Set up web.xml to use GAEApplicationServlet and the created application
  8. Deploy

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:

  1. Create a new "Dynamic Web Project".
  2. Enable "Vaadin Configuration"
  3. Set webcontent directory to "war" on page 2.
  4. Open project preferences
  5. Check "Use Google App Engine" in Google/App Engine
  6. Fix the error in the project by using Ctrl-1 and Finish (adds appengine-web.xml)
  7. Add <sessions-enabled>true</sessions-enabled> to appengine-web.xml
  8. Modify the web.xml to use GAEApplicationServlet instead of ApplicationServlet
  9. 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.

A more detailed step-by-step HOWTO to App Engine can be found here: http://vaadin.com/wiki/-/wiki/Main/Google%20AppEngine%20HOWTO

Posted on 9/11/09 2:48 PM.

Chinese translation: http://xiexiejiao.cn/java/vaadin-6-1-release-support-maven-google-app-engine.html

Posted on 9/13/09 6:35 PM.

We're pleased to announce the public release of Tori – the modern and sleek discussion forum for Liferay portal . We've kept Tori under the blanket while developing it and
There is a point in every enterprise web application project when the scalability of the application under development is wanted to be measured. There are several reasons for why scalability tests
Vaadin TestBench is a browser automation tool, suited for creating UI level tests for Vaadin applications. It is based on Selenium 2, which means that all features of Selenium 2/WebDriver are also
Servlet 3.0 is awesome, so is CDI . They work well and are a joy to set up. Even adding the Vaadin Navigator to the mix isn’t an issue, since you can use the CDIViewProvider to maintain the
A bit over a year ago we released Vaadin 7 renewing the framework inside out. Then came push support with 7.1 . Now what? Let’s take a look into the future. First off, we do not see
Showing 1 - 5 of 100 results.
of 20

See all blog entries
Subscribe to this blog