Object primaryKey = contextData.get(EntityBeanComponent.PRIMARY_KEY_CONTEXT_KEY);
if (primaryKey == null) {
primaryKey = invokeCreate(componentView.getComponent(), contextData);
}
Object value = EJBClient.createProxy(new EntityEJBLocator(componentView.getViewClass(), applicationName, moduleName, beanName, distinctName, primaryKey));
return new ValueManagedReference(new ImmediateValue(value));
}