Train your friends not to talk, touch or interact with the dog until it is sitting quietly behaving itself. Literally tape a sign saying this on your front door.....trust me, your friends will be harder to train than your dog.
Also teach your dog the sit, stay command.....they will quickly learn that unless they are sitting they wont' get any attention and use the same treat for this training and this training ONLY.
My dog loves bananas so I used the Nurtro banana treats to teach this...didn't take long. He's now 5 mths old and if he sees anyone with two legs he immediately sits and waits patiently for them to make their move.
To curb the jumping, lift your knee and say 'off' or 'down' or whatever word you want to use....when I say lift your knee..I mean
lift it, not swing it forcibly into the dogs chest, and say that word and only that word and then ignore the dog unless he jumps again.