1 package example.cmp.many2one;2 3 import java.rmi.*;4 import javax.ejb.*;5 6 /**7 * Remote interface for the student home.8 */9 public interface StudentHome extends EJBLocalHome {10 /**11 * Returns the named student.12 */13 Student findByPrimaryKey(String name) throws FinderException;14 }15