Whats the best way to remove upper ball joints?

If the control arm is off the car a short piece of pipe approximately the same diameter as the holes for bushings can be inserted and then clamp the pipe in a substantial vice.