Prepare for It. This one is easy. All you have to do is smile and say "Thank you so much for your support. I've enjoyed my time here and I've learned a lot from you. Let me know what I can do to make the transition easier." Are you always going to get reaction number five? Probably not. But if you look for the signs, you can likely anticipate your boss' response, go into the conversation prepared, and come out stronger on the other side. Then, you can breathe a sign of relief and start looking forward to starting your new position.
How to write an excellent resignation letter. Whatever the language, the sentiment is the same: I'm outta here. However, as a professional person, you need to express that maturely and firmly__ideally, one that doesn't alienate anyone at the job you're leaving. I'm sure we all have that fantasy where we tell off everyone who wronged us on the way out the door, but that person in the fantasy/movie/TV show never seems to have to live with the consequences afterward.