1 package example.cmp.one2one;2 3 import java.rmi.*;4 import javax.ejb.*;5 import java.util.*;6 7 /**8 * Home interface for the Teacher bean.9 */10 public interface TeacherHome extends EJBLocalHome {11 12 /**13 * returns the <code>Teacher</code> entity that has <code>name</code>14 * as its primary key.15 */16 Teacher findByPrimaryKey(String name)17 throws FinderException;18 19 }20