1 25 26 package org.objectweb.jonas.jtests.beans.jdbcra; 27 28 import java.rmi.RemoteException ; 29 import java.util.Enumeration ; 30 import javax.ejb.CreateException ; 31 import javax.ejb.EJBHome ; 32 import javax.ejb.FinderException ; 33 34 37 38 public interface JdbcRA1Home extends EJBHome { 39 40 public JdbcRA1 create(int accno, String customer, double balance) 41 throws RemoteException , CreateException ; 42 43 public JdbcRA1 create() 44 throws RemoteException , CreateException ; 45 46 public JdbcRA1 findByPrimaryKey(Integer pk) 47 throws RemoteException , FinderException ; 48 49 public JdbcRA1 findByNumber(int accno) 50 throws RemoteException , FinderException ; 51 52 public Enumeration findAllAccounts() 53 throws RemoteException , FinderException ; 54 55 } 56 | Popular Tags |