code: public BeanO addBean(ContainerTx tx, BeanO bean)
                      throws DuplicateKeyException,
                      RemoteException
      {
          return bean.getHome().getActivationStrategy().atCreate(tx, bean);
      }
docs: Add a new bean, most likely as a result of a create...() call on
  a Home interface. It is illegal to attempt to add a bean with a
  <code>BeanId</code> identical to that of another bean which is
  currently visible on the specified transaction. <p>
  
  The new bean is enlisted in the specified transaction. <p>
  
  If a bean with the same identity is already enlisted in the current
  transaction, or there is a visible master instance, a
  <code>DuplicateKeyException</code> results. <p>
  
  @param tx The transaction on which to add the bean
  @param bean The new bean