Composite composite = helper.createComposite();
Map<String, ComponentType> ejbComponentTypes = getEjbComponentTypes();
ModelFactoryExtensionPoint mfep = new DefaultModelFactoryExtensionPoint();
EJBImplementationFactory eif = mfep.getFactory(EJBImplementationFactory.class);
for (Map.Entry<String, ComponentType> entry : ejbComponentTypes.entrySet()) {
String ejbName = entry.getKey();
ComponentType componentType = entry.getValue();
EJBImplementation impl = eif.createEJBImplementation();
impl.setEJBLink(ejbModule.getModuleId() + "#" + ejbName);
// Create component
Component component = helper.createComponent();
String componentName = ejbName;
component.setName(componentName);