1 25 26 package org.objectweb.jonas.jtests.beans.relation.family; 27 28 import java.util.Collection ; 29 import java.rmi.RemoteException ; 30 import javax.ejb.CreateException ; 31 import javax.ejb.EJBHome ; 32 import javax.ejb.FinderException ; 33 34 38 public interface PeopleHome extends EJBHome { 39 People create(String name, String f, String m) throws CreateException , RemoteException ; 40 void union(String name1, String name2) throws FinderException , RemoteException ; 41 void divorce(String name1, String name2) throws FinderException , RemoteException ; 42 People findByPrimaryKey(String name) throws FinderException , RemoteException ; 43 Collection findAll() throws FinderException , RemoteException ; 44 } 45 | Popular Tags |