Guys, I understand that all of you have been trying to give him the best piece of advice. But somehow I feel it might not be a good idea to join company B without telling A. It's certainly not to do with morality etc. but it might create a legal problem for him and he might end up loosing both the jobs.
This is because company B is going to ask him to sign a document saying that he won't work for another company while working for B. In case they get to know about the ploy, they can ask him to leave.
Second issue would be conflict of interest, if there is any. Company A might might file a legal notice against company B for accessing it's confidential information using unlawful means (that's him), in that case company B would get into trouble. he would certainly loose his job. And this would have adverse affect on his career.
I strongly feel that company B won't let him join without a releaving letter from company A to avoid these kind of troubles.