Back to journal
java JAN 19 · 2011

Spring Roo with Vaadin and the Experimental Visual Editor

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:

script vote.roo
persistence setup --provider HIBERNATE --database DERBY
vaadin setup --applicationPackage ~.web --useJpaContainer false
vaadin generate all --package ~.web.ui --visuallyComposable true

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: http://vaadin.com/wiki/-/wiki/Main/Spring%20Roo%20Plugin

Follow Brian Porter on LinkedIn →
← Previous Next →
Brian Porter

Written by

poornerd

CTO at an automotive data company in Munich. Co-founder of SiteForce AG. Four decades writing software and shipping production systems.

Keep reading

Related essays