While the idea of "training" may seem daunting, it is simply teaching an animal what behavior works or doesn't work through resulting consequences — so whether you realize it or not, you are actually training your dog every moment of the day. Fortunately for you, preventing jumping is possible even without structured training. There are some simple solutions to this problem that require minimal effort and fit easily into your normal interactions with your dog.
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.
3. Because they have been rewarded for this behavior in the past, whether purposely or unknowingly. Some owners may, at one point or another, allowed the dog to jump on them or on their furniture, welcoming their dog's enthusiasm to see them. Other owners inadvertently reward their dogs jumping, simply by doing something good--such as walking or feeding the dog--right after the dog has jumped. Even if they told off the dog for jumping, by providing the dog with a walk or with food, they make the dog connect these positive actions, with a not-so-positive action: jumping! The dog sees thing in a very simple, linear fashion: if he jumps, he'll get to go for a walk--or even better, he'll get fed!
Understand the dog's behavior. In a dog's world, it is instinctual to greet another dog by coming nose-to-nose with them. This allows them to sniff each other's faces and become acquainted with the other dog's scent. Of course, your nose is a bit higher to reach so it is only natural that your dog will jump up to get closer to your face when greeting you. This can be quite annoying and unnecessary, but fortunately, the habit can be broken.
Why do dogs jump up? A plausible explanation arises from their ways of communicating with each other. A puppy greeting an adult dog often licks the adult’s muzzle -- a polite, deferential behavior. Dogs, of course, descend from wolves, among whom muzzle-licking is how pups get the grownups to regurgitate food for them. Domestic dogs rarely nourish puppies this way, but muzzle-licking has survived, maybe because deferential behaviors are handy for a social animal. Think of humans saying “No, after you.” Muzzle-licking is also an appeasement behavior -- something you trot out to de-escalate a fight. A human might lift up his hands, palms toward the person he’s arguing with.