1 package edu.rice.rubis.beans; 2 3 import java.rmi.RemoteException; 4 import javax.ejb.CreateException; 5 import javax.ejb.EJBLocalHome; 6 7 /** This is the LocalHome interface of the Query Bean */ 8 9 public interface QueryLocalHome extends EJBLocalHome { 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 QueryLocal create() throws CreateException; 19 20 } 21