depDesc.setClasses(Arrays.asList(classes));
NamedObjectModel [] nomArr = { new NamedObjectModel("resol", "name", "class", "param-1") };
List<NamedObjectModel> noms = Arrays.asList(nomArr);
depDesc.setConfiguration(noms);
depDesc.setEnvironmentEntries(noms);
ObjectModel [] omArr = { new ObjectModel("asdf", "id", "param-1") };
List<ObjectModel> oms = Arrays.asList(omArr);
depDesc.setEventListeners(oms);
depDesc.setGlobals(noms);
depDesc.setMarshallingStrategies(oms);
depDesc.setPersistenceMode(PersistenceMode.JPA);