public void testSimpleEjb() throws Exception
{
InitialContext ctx = getInitialContext();
DAO dao = (DAO)ctx.lookup("DAOBean/local");
Customer cust = dao.createCustomer("Bill");
cust = dao.findCustomer("Bill");
assertNotNull(cust);
assertEquals(cust.getName(), "Bill");
}