Looking for annotation based Java web framework
===

I'm looking for a java web framework, that can be configured using annotations on Java beans.

Example:

    @Entity // JPA
    public Employee {

      @Id // JPA
      private Long id;
  
      @NotNull // JSR-303 annotation
      @TextField// Web framework?
      private String name;

      @Max(200000) // JSR-303 annotation
      @MaskeTextField("000'000.00") // Web framework?
      private BigDecimal salary;

      @ComboBox(valuesFrom = Project.class, default=EMPTY) // WebFramework
      private List<Project> projects;
      ...
    }

With this definition I want to be able to generate 1) a table with all Employees and a detail page to edit the employee.

Does anybody know of some framework like that?

Thanks.