把SessionBean的代码格式化一下Collection col = empHome.findByAll();
Iterator it = col.iterator();
while (it.hasNext()) {
  Emp emp = (Emp) PortableRemoteObject.narrow(it.next(), Emp.class);
}