code: public void add(String dn, String attributes, String delimiter, String seperator) throws NamingException, PageException {
  	DirContext ctx = new InitialDirContext(env);
  	ctx.createSubcontext(dn, toAttributes(attributes, delimiter, seperator));
  	ctx.close();
      }
docs: adds LDAP entries to LDAP server
  
  @param dn
  @param attributes
  @param delimiter
  @throws NamingException
  @throws PageException