1 // PersonHomeRemote.java2 3 package org.objectweb.jonas.jtests.beans.relation.rcycle;4 5 import java.rmi.RemoteException ;6 import java.util.Collection ;7 8 import javax.ejb.CreateException ;9 import javax.ejb.EJBHome ;10 import javax.ejb.FinderException ;11 12 13 /**14 * Remote home interface for the bean Person15 * @author Helene Joanin16 */17 public interface PersonHomeRemote extends EJBHome {18 19 PersonRemote create(Integer id, String name, int sex) throws CreateException , RemoteException ;20 21 PersonRemote findByPrimaryKey(java.lang.Integer id) throws FinderException , RemoteException ;22 23 Collection findAll() throws FinderException , RemoteException ;24 Collection findQuery1() throws FinderException , RemoteException ;25 PersonRemote findSpouse3() throws FinderException , RemoteException ;26 Collection findQuery2() throws FinderException , RemoteException ;27 28 }29