You can beat it out, however chances are good that you'll damage the threads and knock the bearing loose damaging it. Changing the bearing in the rear with the control arm on the car will require a tool called the Hub Shark, I use it mostly on VWs at the shop (BMW bearings under normal use seem to last forever)
You cannot pull the hub flange out with out ripping the bearing apart and if you do you'll need a bearing splitter to press the race off the flange. You can notch it with a buzz wheel and crack it with a chisel but that dangerous, risky and not to mention it sucks. The bearing itself is pressed into the control arm and held in place with a large C-clip. It's a bit of a bitch in the field, but the right tools you'll save yourself a lot of unnecessary drama. The inner C/V is cake ,a 4 square or (12 point) bit, a light hammer and 5 min and no problem.
P.S. Get ALL the dirt out of the bolt head before you try to crack it loose, you do not want to strip these bolts!