Interfaccia locale del componente
package it.html.ejb.entity.bmp;
import javax.ejb.EJBLocalObject;
public interface BankAccountLocal extends EJBLocalObject {
//Metodi di logica (deposito e prelievo)
public void deposito(double amt)throws AccountException;
public void prelievo(double amt)throws AccountException;
//Metodi setter delle proprietà
public double getSaldo();
public String getNome();
public void setNome(String name);
public String getAccountID();
public void setAccountID(String id);
}