1 22 package org.jboss.ejb3.test.bank; 23 24 import java.util.*; 25 import java.rmi.*; 26 import javax.ejb.*; 27 28 33 public interface CustomerHome extends EJBHome 34 { 35 public static final String COMP_NAME = "java:comp/env/ejb/Customer"; 37 38 public static final String JNDI_NAME = "bank/Customer"; 39 40 42 44 46 public Customer create(String id, String name) throws RemoteException, 48 CreateException; 49 50 public Customer findByPrimaryKey(CustomerPK pk) throws RemoteException, 51 FinderException; 52 53 public Collection findAll() throws RemoteException, FinderException; 54 } 55 56 71 | Popular Tags |