the mechanics of the swing and weight transfer is very similar. I'd say more than baseball or hockey. I'm not quite sure hockey can even be considered a "similar" action. Coming from someone who has played his whole life. The slap shot is the closest thing but still not representative at all in my opinion.
Tennis is similar to golf. Problem with tennis is if one is older, it's easy to rip ligaments / tendons.