KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > jonas > jtests > beans > ebasic > PersonHome


1 // PersonHome.java
2

3 package org.objectweb.jonas.jtests.beans.ebasic;
4
5 import java.rmi.RemoteException JavaDoc;
6 import java.util.Collection JavaDoc;
7 import javax.ejb.CreateException JavaDoc;
8 import javax.ejb.EJBHome JavaDoc;
9 import javax.ejb.FinderException JavaDoc;
10
11 /**
12  * Home interface for the bean Person
13  */

14 public interface PersonHome extends EJBHome JavaDoc {
15     Person create(int i, String JavaDoc n) throws CreateException JavaDoc, RemoteException JavaDoc;
16     Person findByPrimaryKey(java.lang.Object JavaDoc pk) throws FinderException JavaDoc, RemoteException JavaDoc;
17     Person findByNumber(int number) throws FinderException JavaDoc, RemoteException JavaDoc;
18     Person findByName(String JavaDoc name) throws FinderException JavaDoc, RemoteException JavaDoc;
19     Collection JavaDoc findAll() throws FinderException JavaDoc, RemoteException JavaDoc;
20 }
21
Popular Tags