id = Integer.parseInt(getRequest().getParameter("id"));
else
throw new IllegalStateException("No parameter 'id'");
// Create a empty Bean
Employee employee = new Employee();
// Fill some initial data to the bean
employee.setId(id);
// Load bean based on the given PrimaryKey
employee = (Employee) broker.getObjectByIdentity(new Identity(employee, broker));
// Load form descriptor
FormInstance form = new FormInstance("forms/employee.xml");
// Load form binding