1 3 package org.objectweb.jonas.jtests.beans.fbasic; 4 5 import java.rmi.RemoteException ; 6 import java.util.Collection ; 7 import javax.ejb.CreateException ; 8 import javax.ejb.EJBHome ; 9 import javax.ejb.FinderException ; 10 11 14 public interface PersonHome extends EJBHome { 15 Person create(int i, String n) throws CreateException , RemoteException ; 16 Person findByPrimaryKey(java.lang.Object pk) throws FinderException , RemoteException ; 17 Person findByNumber(int number) throws FinderException , RemoteException ; 18 Person findByName(String name) throws FinderException , RemoteException ; 19 Collection findAll() throws FinderException , RemoteException ; 20 } 21 | Popular Tags |