Simulating Radiative Feedback and the Formation of Massive Stars