Context initial = new InitialContext();
NamingEnumeration n = initial.list(initial.getNameInNamespace());
while(n.hasMoreElements()) System.out.println(n.next());
Object objref = initial.lookup("java:comp/env/CustomerHomeRemote");
CustomerHomeRemote home = (CustomerHomeRemote) PortableRemoteObject.narrow(objref,CustomerHomeRemote.class);
CustomerRemote customer = home.create(new Integer(txtMsg.getIntProperty("customerID")),txtMsg.getStringProperty("customerName"),
txtMsg.getStringProperty("customerSSS"),txtMsg.getStringProperty("customerAddress"), new SimpleDateFormat("mm/dd/yyyy").parse(txtMsg.getStringProperty("birthdate")),
new Double(txtMsg.getDoubleProperty("customerSalary")),new Double(txtMsg.getDoubleProperty("customerLoan")));
logger.info("SUCCESS!!!");
} else {