Blog

Vaadin Plugin for Spring Roo

By  
Sami Ekblad
·
On May 24, 2011 4:56:00 AM
·

 

Closely followed by the Vaadin 6.6 release we also released The Vaadin Plug-in for Spring Roo 1.0 (beta)

As a server-side UI framework Vaadin is a good match for SpringSource's tools. The guys at Spring Roo share the same vision as we here at Vaadin 'creating a lightweight, 100% Java-based development tool'. By combining the back end-logic to the visual UI editing capabilities of Vaadin we are entering new era of CRUD productivity.

Taking benefit of Vaadin's Java-only approach you can generate the whole data-bound web UI for application entities with only two commands:

vaadin setup --applicationPackage ~.web --baseName PizzaShop --themeName \
       pizza --useJpaContainer false
vaadin generate all --package ~.web.ui --visuallyComposable true

(a note for Roo newcomers: Don't worry, there is an excellent code completion in Spring Roo)
 

Vaadin UI Generated with Spring Roo

This is the full Vaadin UI. All the components can be lazy-loading and all input validated. You have a very solid base to continue building more logic into your application.

One of the best features is that by defining the --visuallyComposable true you can use the Vaadin's visual editor (part of the Eclipse plugin) to make the UI even better.
 

Vaadin Plugin for Eclipse - Visual Editor

You can add and remove fields, and move, resize and align everything. Your quick CRUD don't have to look like that quick anymore.

Learn more at vaadin.com/springroo

Sami Ekblad
Sami Ekblad is one of the original members of the Vaadin team. He is now working as a framework advocate, and you can find many add-ons and code samples to help you get started with Vaadin. Follow at – @samiekblad
Other posts by Sami Ekblad