1 package example.cmp.one2many;2 3 import java.rmi.*;4 import javax.ejb.*;5 6 import java.util.*;7 8 /**9 * Home interface for the Student bean.10 */11 public interface StudentHome extends EJBLocalHome {12 13 /**14 * returns the <code>Student</code> entity that has <code>name</code>15 * as its primary key.16 */17 public Student findByPrimaryKey(String name)18 throws FinderException;19 20 /**21 * returns a <code>Collection</code> of all students managed by the container.22 */23 public Collection findAll()24 throws FinderException;25 26 }27