1 package edu.rice.rubis.beans; 2 3 import java.rmi.RemoteException; 4 import javax.ejb.CreateException; 5 import javax.ejb.EJBHome; 6 7 /** This is the Home interface of the Query Bean */ 8 9 public interface QueryHome extends EJBHome { 10 11 /** 12 * This method is used to create a new Region Bean. Note that the region 13 * id is automatically generated by the database (AUTO_INCREMENT) on the 14 * primary key. 15 * 16 * @return session bean 17 */ 18 public Query create() throws CreateException, RemoteException; 19 20 } 21