The reactants are dissloved in a suitable solvent in a flask fitted with a condenser. Heat is supplied via a heating mantle or an oil bath fitted with a stirrer.