1 package com.titan.reservation;2 3 import com.titan.cruise.*;4 5 import java.util.Collection;6 import javax.ejb.CreateException;7 import javax.ejb.FinderException;8 9 // Reservation EJB's local home interface10 public interface ReservationHomeLocal extends javax.ejb.EJBLocalHome {11 12 public ReservationLocal create(CruiseLocal cruise, Collection customers)13 throws javax.ejb.CreateException;14 15 public ReservationLocal findByPrimaryKey(Object primaryKey)16 throws javax.ejb.FinderException;17 18 public Collection findAllReservations() throws FinderException;19 20 }21