code: public static byte[] generateStubBytes(Class<?> remoteInterface,
                                             int rmicCompatible)
                      throws EJBConfigurationException
      {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "generateStubBytes : " + remoteInterface.getName() +
                           ", rmicCompatible=" + rmicCompatible);
  
          byte[] stubBytes = JIT_Stub.generateStubBytes(remoteInterface, rmicCompatible);
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "generateStubBytes : " + stubBytes.length + " bytes");
  
          return stubBytes;
      }
docs: Generates the class bytes for the Stub class with rmic compatibility
  corresponding to the specified remote interface class. <p>
  
  The corresponding method, getStubClassName(), provides the name
  of the generated stub class. <p>
  
  Intended for use by WebSphere tooling providers. <p>
  
  @param remoteInterface Interface implemented by the generated Stub;
  not required to implement java.rmi.Remote.
  @param rmicCompatible The rmic compatibility to use as returned by {@link #parseRMICCompatible}.
  
  @return the class bytes for the Stub class corresponding to the
  specified remote interface class.