1 3 package org.objectweb.jonas.jtests.beans.ebasic; 4 5 import java.rmi.RemoteException ; 6 import java.util.Collection ; 7 import javax.ejb.CreateException ; 8 import javax.ejb.EJBHome ; 9 import javax.ejb.FinderException ; 10 11 14 public interface AccountHome extends EJBHome { 15 Account create(int num, java.lang.String name) throws CreateException , RemoteException ; 16 Account findByPrimaryKey(java.lang.Integer pk) throws FinderException , RemoteException ; 17 Account findByNumber(int num) throws FinderException , RemoteException ; 18 Collection findAll() throws FinderException , RemoteException ; 19 } 20 | Popular Tags |