}
public static String[] getObjectNames(J2EEManagedObject[] objects) {
String[] objectNames = new String[objects.length];
for (int i = 0; i < objects.length; i++) {
J2EEManagedObject object = objects[i];
objectNames[i] = object.getObjectName();
}
return objectNames;
}