CustomerNormalValue normal = new CustomerNormalValue();
normal.getCredit();
CustomerLightValue light = new CustomerLightValue();
light.getCredit();
try {
AccountHome home = (AccountHome) new InitialContext().lookup("java:comp/env/ejb/bank/Account");
return home.findByOwner((Customer) ctx.getEJBObject());
}
catch (Exception e) {
throw new EJBException(e);
}
}