FileDocCategorySizeDatePackage
ShipHomeRemote.javaAPI DocExample702Sat Jul 07 09:10:26 BST 2001com.titan.ship

ShipHomeRemote.java

package com.titan.ship;

import javax.ejb.EJBHome;
import javax.ejb.CreateException;
import javax.ejb.FinderException;
import java.rmi.RemoteException;
import java.util.Collection;

public interface ShipHomeRemote extends javax.ejb.EJBHome {

    public ShipRemote create(Integer id, String name, int capacity, double tonnage)
        throws RemoteException,CreateException;
    public ShipRemote create(int id, String name)
        throws RemoteException,CreateException;
    public ShipRemote findByPrimaryKey(Integer primaryKey)
        throws FinderException, RemoteException;
    public Collection findByCapacity(int capacity)
        throws FinderException, RemoteException;
}