KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > jtests > beans > relation > rcycle > PersonHomeRemote


1 // PersonHomeRemote.java
2

3 package org.objectweb.jonas.jtests.beans.relation.rcycle;
4
5 import java.rmi.RemoteException JavaDoc;
6 import java.util.Collection JavaDoc;
7
8 import javax.ejb.CreateException JavaDoc;
9 import javax.ejb.EJBHome JavaDoc;
10 import javax.ejb.FinderException JavaDoc;
11
12
13 /**
14  * Remote home interface for the bean Person
15  * @author Helene Joanin
16  */

17 public interface PersonHomeRemote extends EJBHome JavaDoc {
18
19     PersonRemote create(Integer JavaDoc id, String JavaDoc name, int sex) throws CreateException JavaDoc, RemoteException JavaDoc;
20
21     PersonRemote findByPrimaryKey(java.lang.Integer JavaDoc id) throws FinderException JavaDoc, RemoteException JavaDoc;
22
23     Collection JavaDoc findAll() throws FinderException JavaDoc, RemoteException JavaDoc;
24     Collection JavaDoc findQuery1() throws FinderException JavaDoc, RemoteException JavaDoc;
25     PersonRemote findSpouse3() throws FinderException JavaDoc, RemoteException JavaDoc;
26     Collection JavaDoc findQuery2() throws FinderException JavaDoc, RemoteException JavaDoc;
27
28 }
29
Popular Tags