package ejb.demo2; /** * Demo2Home.java - This is the Home interface it must * extend javax.ejb.EJBHome and define one or more * create() methods for the bean. * * Note: The implementation of this interface is * generated by the container tools. */ import javax.ejb.*; import java.rmi.*; import java.util.*; public interface Demo2Home extends javax.ejb.EJBHome { public Demo2 create(String PK) throws javax.ejb.CreateException, java.rmi.RemoteException; public Demo2 findByPrimaryKey(String PK) throws javax.ejb.CreateException, java.rmi.RemoteException, javax.ejb.FinderException; }