code: public BeanO createBeanO() throws RemoteException
      {
          EJSDeployedSupport s = EJSContainer.getMethodContext();
          return createBeanO(s.ivThreadData, s.currentTx, false, null); // d630940
      }
docs: Creates a bean instance for this home. <p>
  
  This method is intended to be called by the create methods of entity and
  SFSB home classes generated by EJBDeploy and JITDeploy. The methods will
  have been called through home wrappers, so preInvoke will have been
  called immediately prior to this method being invoked. <p>
  
  Need to distinguish between invocations of this method from the
  create path and the activate path.
  On the create path a new instance of a CMP bean needs to be
  created so that the fields in the CMP bean are set to their Java
  defaults. On the activate path, we can reuse an already created
  instance of the bean. <p>
  
  If this method returns successfully, the caller (the generated entity or
  stateful home bean) must call {@link #preEjbCreate}, then ejbCreate, then {@link #postCreate}, then ejbPostCreate (if necessary), then {@link #afterPostCreate}. If the
  entire sequence is successful, then {@link #afterPostCreateCompletion} must be called. If an exception
  occurs at any point, then {@link #createFailure} must be called.