// Load form descriptor
FormInstance form = new FormInstance("forms/employee.xml");
// Load form binding
form.createBinding("forms/employee-binding.xml");
// Load the Bean to the form
form.load(employee);
// Let Cocoon Forms handle the form
form.show("form/employee");
// Update the Bean based on user input
form.save(employee);
// Update Bean in Database