In our house our regular visitors are told to walk straight past bouncy Morgan, ignore his jumping up, no eye contact, no talking to him, no aknowledgement of any kind. We go into the kitchen and spend a few minutes chatting and making a cuppa (still ignoring him) by now he's usually calmed down a bit and gets a quick pat and a "good boy"
It didn't work with the plumber who did the "It's ok, I love dogs, come here boy, who's a lovely chap then?" fuss, fuss
So for the rest of the 2 weeks the plumber was here we had to crate Morgan or keep him in the living room away from the nice man who encouraged him to jump up!
It's great if you can get people to ignore him, Morgan doesn't pester our daughter's partner at all as he has made it very clear that he doesn't like dogs, has never encouraged him and Morgan realises the man isn't worth bothering with.
I just wish our daughter was as wise as Morgan!!