Business components of the application are encapsulated by session beans.
The BankTeller bean is a stateful session bean that encapsulates all interaction between the customer and the system. BankTeller is notably in charge of the following activities:
Authenticating a customer through the authCheck() method
Giving the list of accounts for the customer through the getAccountSummary() method
Transferring funds between accounts on behalf of the customer through the transferFunds() method
The InterestCalculator bean is a stateless session bean that encapsulates financial calculations. It is responsible for providing the compound interest projection calculations, through the projectEarnings() method.