Form in Vaadin 7

The book of Vaadin 7 reports:

“You can use such a bean item for example in a Form as follows:
// Bind it to a component
Form form = new Form();
form.setItemDataSource(item);
// Nicer captions
form.getField(“discoverername”).setCaption(“Discoverer”);
form.getField(“discovererborn”).setCaption(“Born”);”

But Form is deprecated!!!
Where can I find an exemple of using forms in Vaadin 7?

FieldGroup (and BeanFieldGroup) are the new mechanisms.

See the
tutorials
on forms and data binding. For instance
Creating a form using an existing layout
uses FieldGroup.