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