---
title: "Spring Roo with Vaadin and the Experimental Visual Editor"
date: 2011-01-19T22:16:07+00:00
author: "poornerd"
tags: ["java", "roo", "vaadin"]
canonical: https://www.poornerd.com/2011/01/19/spring-roo-with-vaadin-and-the-experimental-visual-editor/
source: Raw Markdown twin of the HTML article; content is the original source.
---
I just read about how to get the experimental Vaadin Visual Editor running, so I had to try it with a Roo project. This is what it looked like with the Roo Vote sample app:
  
![](/wp-content/uploads/2011/01/vaadin_visual_editor.png)

<pre class="brush: plain; title: ; notranslate" title="">script vote.roo
persistence setup --provider HIBERNATE --database DERBY
vaadin setup --applicationPackage ~.web --useJpaContainer false
vaadin generate all --package ~.web.ui --visuallyComposable true
</pre>

Basically, I just ran the sample script, changed the persistence to Derby (not necessary), and setup Vaadin.
  
Then I went to src/main/java/web/ui/VoteForm.java and opened it with Vaadin Editor.
  
For instructions on installing the necessary stuff in Spring Source Tool or Eclipse check out this page: <a href="http://vaadin.com/wiki/-/wiki/Main/Spring%20Roo%20Plugin" onclick="javascript:pageTracker._trackPageview('/outbound/article/vaadin.com');" target="_new">http://vaadin.com/wiki/-/wiki/Main/Spring%20Roo%20Plugin</a>
