Whats the best way to remove upper ball joints?

I have put the ball joint in the vise jaws and put a piece of pipe through the holes where the upper bushings were.