EJB3StandaloneBootstrap.boot(null);
EJB3StandaloneBootstrap.deployXmlResource("ejb3-deployment.xml");
InitialContext ctx = getInitialContext();
CustomerDAOLocal local = (CustomerDAOLocal)ctx.lookup("CustomerDAOBean/local");
CustomerDAORemote remote = (CustomerDAORemote)ctx.lookup("CustomerDAOBean/remote");
System.out.println("----------------------------------------------------------");
int id = local.createCustomer("Gavin");
Customer cust = local.findCustomer(id);
System.out.println("Successfully created and found Gavin from @Local interface");
id = remote.createCustomer("Emmanuel");
cust = remote.findCustomer(id);
System.out.println("Successfully created and found Emmanuel from @Remote interface");
System.out.println("----------------------------------------------------------");
EJB3StandaloneBootstrap.shutdown();