code: public static void register( String name1,
                                   Object obj1,
                                   String name2,
                                   Object obj2 ) {
          register(name1, obj1, name2, obj2, null, null);
      }
docs: A convenience method that registers the supplied objects with the supplied names.
  
  @param name1 the JNDI name for the first object
  @param obj1 the first object to be registered
  @param name2 the JNDI name for the second object
  @param obj2 the second object to be registered