import java.rmi.RemoteException;
import javax.ejb.SessionBean;
import javax.ejb.SessionContext;

public class ConverterBean implements SessionBean {
  double txYen = 121.6000;
  double txEuro = 0.0077;
  public double dollarToYen(double dollars) {
    return dollars * txYen;
  }

  public double yenToEuro(double yen) {
    return yen * txEuro;
  }

  public double getTaxaYen() { return txYen; }
  public double getTaxaEuro() { return txEuro; }

   public ConverterBean() {}
   public void ejbCreate() {}
   public void ejbRemove() {}
   public void ejbActivate() {}
   public void ejbPassivate() {}
   public void setSessionContext(SessionContext sc) {}
}
