How to define home interface in EJB?
package Bank; import javax.ejb.*; import java.rmi.*; public interface CheckingHome extends EJBHome { Checking create (AccountKey key, String name, double startingBalance) throws CreateException, RemoteException; Checking findByPrimaryKey (AccountKey key) throws FinderException, RemoteException; }
Re: How to define home interface in EJB?
package Bank;
import javax.ejb.*;
import java.rmi.*;
public interface CheckingHome extends EJBHome {
Checking create (AccountKey key, String name, double startingBalance)
throws CreateException, RemoteException;
Checking findByPrimaryKey (AccountKey key)
throws FinderException, RemoteException;
}