In order to perfect the proper greeting routine, your dog needs much more practice than that. You can speed up the training process by leaving through the back door and returning through the front door over and over again. When your friends come over, have them do the same. Each time, ask your dog to sit-stay before opening the door. At first his excitement will make it difficult for him to concentrate but after you've repeated this process 10 times, he will calm down and be able to concentrate. Before asking your dog to sit-stay in this distracting and exciting situation, be sure he has a reliable sit-stay in normal, non-stressful situations. And of course you can always just hold the dog in a sit if need be.
Dogs with poor social skills oftentimes just don’t know better. They will bounce off of everything, jump on everyone, run around like crazy, and investigate everything they can get their paws, snout, and eyes on! These dogs can come from any background, whether a rescue or puppy from a great breeder; if they haven’t had experience in new places and new situations, this can be how they respond.
A conflicting behavior when you come home—like “sit”—helps enormously. You’ll need to practice your puppy’s “sit” during calm moments first, and then ask for this polite behavior before you leave and when you arrive home. Guests will appreciate a polite “sit” when they arrive, too, as they won’t appreciate your puppy leaping around and mugging them for attention.
Redirect with a sit command. The simple 'sit' command can be useful in many different situations. Most importantly, it is a great distraction technique for redirecting your dog's attention from an undesirable behavior, such as jumping up. When your dog jumps up on you, turn your back to them while keeping them in your peripheral vision. Ask her to sit and immediately praise her when she does so.
Many puppies don’t know their strength. When they jump up and you wave your arms and try to push them off, they may think it’s a game and grabs and bite harder. Tell them it hurts the same way another puppy would, with a YELP! Lay it on thick, overact and cry and sob like the pup has done major damage. Some tough dogs get the message using this. For the out-of-control grabby, ambush type of dog play, give him a taste of his own medicine and SCREAM (very loud but very short), and fall over “dead.” Don’t move and don’t say anything. Play dead for at least 15 to 20 seconds. The shock value may be enough to send a permanent message that such games stop all interaction, plus they hurt you—and playing dogs aren’t interested in hurting you and won’t want you to cry.
I remember going to a dog park where a little 4-month-old Boxer puppy ran around jumping on everyone. The dog was not heavy enough to knock most of the adults down. However, it left everyone with muddy pants and the dog was big enough to knock over small children. The owner did nothing to stop the jumping puppy. After all, it was just a small pup. Everyone around her was pretty annoyed at the muddy prints the dog was leaving all over their clothes. That is an owner who will have a problem with her dog jumping on people when it gets older.