Vaadin

Join Vaadin Log In

Blog

Blogs »
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 
-DarchetypeArtifactId=vaadin-archetype-sample 
-DarchetypeVersion=LATEST 
-Dpackaging=war  
-DgroupId=myGroup 
-DartifactId=myArtifact 
-Dversion=1.0-SNAPSHOT

 

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.


  • Comments
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.

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

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

Top Top
Vaadin Add-ons Now Available With Maven
Today we rolled out a new version of the Vaadin Directory . This update is mostly about fulfilling a common feature request we have heard from the community, downloading add-ons via Maven
Discovering GlassFish 3 with Vaadin
One of my first assignments as a fresh employee of IT Mill was to investigate how well Vaadin integrates with the new GlassFish 3 application server . The last time I had used the "official
Developing Vaadin TouchKit, Part 1
This is the first post in a series of three posts on Vaadin TouchKit and mobile web application development. In this first post, I’ll give a bit of background about how I got involved with
The latest add-on compo winner - AppFoundation
As mentioned earlier the AppFoundation add-on has been one of the community favorites for some time now. So, it hardly comes as a surprise that until the end of July, Kim Leppänen managed to
Congrats to the June iPad winner Henri Kerola of GWT Graphics
Already from the beginning of the month it was clear that this was battle between two add-ons. Both GWT Graphics and AppFoundation have a big fan base and it was not until the last day the winner
Showing 1 - 5 of 44 results.
Items per Page
Page of 9