View Javadoc
1   package ejava.examples.ejbsessionbank.ejb;
2   
3   import java.util.List;
4   
5   import javax.ejb.Remote;
6   
7   import ejava.examples.ejbsessionbank.bl.BankException;
8   import ejava.examples.ejbsessionbank.bl.Teller;
9   import ejava.examples.ejbsessionbank.bo.Ledger;
10  import ejava.examples.ejbsessionbank.bo.Owner;
11  import ejava.examples.ejbsessionbank.dto.OwnerDTO;
12  
13  @Remote
14  public interface TellerRemote extends Teller {
15      Ledger getLedger2() throws BankException;
16      List<Owner> getOwnersLoaded(int index, int count) throws BankException;
17      List<Owner> getOwnersPOJO(int index, int count) throws BankException;
18      List<OwnerDTO> getOwnersDTO(int index, int count) throws BankException;
19      String whoAmI();
20  }