Executives from several industries shared with The Wall Street Journal some of their best tips for a long and rewarding career.