{EjbLink2Bean.class, EjbLink3Bean.class};
List<Class<?>> classes = Arrays.asList(beanClasses);
AnnotationFinder<AnnotatedElement> finder = new DefaultAnnotationFinder<AnnotatedElement>();
JBoss50Creator creator = new JBoss50Creator(finder);
JBoss50MetaData metaData = creator.create(classes);
EjbJar3xMetaData specMetaData = unmarshal("AnnotationEjb3_testAnnotationMergedViewWithPartialXml.xml", EjbJar3xMetaData.class, null);
JBoss50MetaData dd = new JBoss50MetaData();
dd.merge(null, specMetaData);
JBoss50MetaData merged = new JBoss50MetaData();
merged.merge(dd, metaData);