System.out.println("Starting");
InitialContext ctx = new InitialContext();
EmailSystem emailSystem = (EmailSystem)ctx.lookup("EmailSystemBean/remote");
System.out.println("\nCalling emailLostPassword");
emailSystem.emailLostPassword("whatever");
System.out.println("Waiting 2 seconds");
Thread.sleep(2000);
System.out.println("\nCalling sendBookingConfirmationMessage");
emailSystem.sendBookingConfirmationMessage(100);