Example 8 - Bid Home Interface
    public interface BidHome extends EJBHome 
    {
        public Bid create(User owner, Item item, int amount) 
           throws RemoteException, CreateException;
        public Bid findByPrimaryKey(BidPK pk) 
           throws RemoteException, FinderException;
        public Enumeration findAllBids() 
           throws RemoteException, FinderException;
        public Enumeration findBidsByUser(User user) 
           throws RemoteException, FinderException;
        public Enumeration findBidsByItem(Item item) 
           throws RemoteException, FinderException;
        public Bid findMaxBidForItem(Item item) 
           throws RemoteException, FinderException;
    }
            

Next Slide >>