code: private void simulateCommitBean(BeanO beanO, ContainerTx containerTx) {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "simulateCommitBean");
  
          // React to exceptions the same as afterCompletion, insure
          // both commit and commitBean are called.     F743-22462.CR
  
          try {
              beanO.commit(containerTx);
          } catch (Throwable ex) {
              FFDCFilter.processException(ex, CLASS_NAME + ".simulateCommitBean",
                                          "5300", new Object[] { this, beanO });
              if (isTraceOn && tc.isEventEnabled())
                  Tr.event(tc, "Exception thrown from BeanO.commit()",
                           new Object[] { beanO, ex });
          }
  
          try {
              activator.commitBean(containerTx, beanO);
          } catch (Throwable ex) {
              FFDCFilter.processException(ex, CLASS_NAME + ".simulateCommitBean",
                                          "5313", new Object[] { this, beanO });
              if (isTraceOn && tc.isEventEnabled())
                  Tr.event(tc, "Exception thrown from commitBean()",
                           new Object[] { beanO, ex });
          }
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "simulateCommitBean");
      }
docs: F61004.1