3031323334353637383940
out.println(); out.flush(); out.println("all resources:"); out.println("-------------"); Object[] persons = rm.findAll(Person.class); for (int i=0; i<persons.length; i++) { Person person2 = (Person)persons[i]; out.println(person2); } out.println();