*/
public void patrolBank() {
System.out.println("Patrolling bank.");
try {
CustomerHome home = (CustomerHome) new InitialContext().lookup("java:comp/env/ejb/bank/Customer");
Collection customers = home.findAll();
for (Iterator customersInBank = customers.iterator(); customersInBank.hasNext();) {
Customer customer = (Customer) customersInBank.next();
customer.talkTo();
}
}