1 22 package org.jboss.test.readahead.interfaces; 23 24 import java.util.Collection ; 25 import java.rmi.RemoteException ; 26 import javax.ejb.EJBHome ; 27 import javax.ejb.CreateException ; 28 import javax.ejb.FinderException ; 29 30 38 public interface AddressHome extends EJBHome { 39 public AddressRemote create(String key, String addressId, String address, 40 String city, String state, String zip) throws RemoteException , CreateException ; 41 public AddressRemote findByPrimaryKey(AddressPK primaryKey) throws RemoteException , FinderException ; 42 public Collection findByKey(String key) throws RemoteException , FinderException ; 43 public Collection findByCity(String city) throws RemoteException , FinderException ; 44 } | Popular Tags |