/** * Finds the unique bank account indexed by primary key key */ public AccountPK ejbFindByPrimaryKey(AccountPK key) /** * Finds all the prodUCt entity beanss. Returns an Enumeration * of primary keys. */ public Enumeration ejbFindAllProducts() /** * Finds all Bank Accounts that have at least a minimum balance. * Returns an Enumeration of primary keys. */ public Enumeration ejbFindBigAccounts(int minimum) /** * Finds the most recently placed order */ public OrderPK ejbFindMostRecentOrder()
Creating a beans-managed persistent entity beans and EJB object.