01: // PersonHomeRemote.java
02:
03: package org.objectweb.jonas.jtests.beans.relation.rcycle;
04:
05: import java.rmi.RemoteException;
06: import java.util.Collection;
07:
08: import javax.ejb.CreateException;
09: import javax.ejb.EJBHome;
10: import javax.ejb.FinderException;
11:
12: /**
13: * Remote home interface for the bean Person
14: * @author Helene Joanin
15: */
16: public interface PersonHomeRemote extends EJBHome {
17:
18: PersonRemote create(Integer id, String name, int sex)
19: throws CreateException, RemoteException;
20:
21: PersonRemote findByPrimaryKey(java.lang.Integer id)
22: throws FinderException, RemoteException;
23:
24: Collection findAll() throws FinderException, RemoteException;
25:
26: Collection findQuery1() throws FinderException, RemoteException;
27:
28: PersonRemote findSpouse3() throws FinderException, RemoteException;
29:
30: Collection findQuery2() throws FinderException, RemoteException;
31:
32: }
|