Definetly learn the bike and riing first. Gotta know what to expect.
OTH, I agree that it's not something you'll learn without just doing it. If you've ever done an endo on a bicycle, it's not really any different.
You will need more forward momentum due to the sheer weight of the bike. It seems counter-intuitive, but you're better off coming in at 30mph than at 15.
Stoplight stoppie- lean forward, apply some front brake to load the front end. As you approach the stopping point, haul in the front brake level smoothly, but with gusto. You can use your knees/ankles to pull up a bit as well.
You'll probably not even lift the rear at first, just stop abruptly like you don't know how to ride.
Very quickly you'll figure out how to get the rear end up higher (sort of like dating a chick....) and that's basically just more speed and quicker front brake application.
The rear will slam back down, just be prepared so you don't drop it. Be neutral as possible. Coming down with the bike sideways at all will make it difficult not to fall over. Also, keep that wheel strait. Letting it flop to the side is a sure crash.
Starting out, it's pretty unlikely you'll go completely over the bars. You really need to screw up to somersault a bike.
Some folks just stall their bike. If I plan on lifting the tail, I slip it into neutral before hitting the brake. Up to you.
Make sure you have warm tires and brakes!!! Especially in traffic (I know, you wouldn't DREAM of stunting in traffic....) because the front may just lock up and you'll go skidding into whatever is in front of you. A locked front tire combined with the body positioning for an endo spell disaster.