Screenshot showing the EJB Builder Wizard's first pane and selections for a CMP entity bean. The bean's persistent fields can be based on a table from a database connection or a table from a database schema object. You can base your new bean on an existing bean with a CMP 2.x or CMP 1.x bean class. Or, you can create the fields from scratch. A bean that you create new in this wizard or a bean based on a CMP 2.x bean class can have remote interfaces only, local interfaces only (which is the default), or both types of interfaces. A bean based on a CMP 1.x bean class can have only remote interfaces.