code: public static Reference createAmbiguousReference
                      (String simpleBindingName,
                       J2EEName j2eeName)
      {
          String message = "The simple-binding-name '" + simpleBindingName +
                           "' for bean " + j2eeName + " is ambiguous because the bean " +
                           "implements multiple interfaces.  Provide an interface specific " +
                           "binding or add #<interface> to the simple-binding-name on lookup.";
  
          StringRefAddr refAddr = new StringRefAddr(ADDR_TYPE, message);
          Reference ref = new Reference(ADDR_TYPE, refAddr,
                          AMBIGUOUS_FACTORY_NAME, null);
          return ref;
      }
docs: Creates an AmbiguousEJBReference Reference based on a simple-name
  binding and the J2EEName of the corresponding EJB. <p>
  
  Intended for use in the following scenario: <p>
  
  A 'simple name' binding has been provided for an EJB which has
  more than one remote or local interface, and an attempt is made
  to lookup the EJB using the simple name. <p>
  
  Since the 'simple name' does not uniquely identify a single
  interface, it is considered ambiguous. Instead, the lookup
  String should have '#<interface>' appended, where <interface>
  is the desired local or remote interface. <p>
  
  @param simpleBindingName simple-name binding for an EJB.
  @param j2eeName unique bean identifier.
  
  @return the created AmbiguousEJBReference Reference.