//grab an unasociated entity bean from the pool
final EntityBeanComponentInstance instance = entityBeanComponent.getPool().get();
//call the ejbCreate method
final Object primaryKey = invokeEjbCreate(context, ejbCreate, instance, params);
instance.associate(primaryKey);
primaryKeyReference.set(primaryKey);
//now add the instance to the cache, so it is usable
//note that we do not release it back to the pool
//the cache will do that when it is expired or removed