A website that I use which sells raffle tickets was blocked by Etisalat, I assume because it was classed as gambling.
After I informed them that the proceeds from the raffle go towards down syndrome children, they eventually unblocked it, but it got me thinking.
I would class raffles as gambling, but they are a dime a dozen in the UAE which indicates that the people running them do not feel that it is "Haram" and they may be considered as just 'good' gambling.
In your friend's case it was clearly 'bad' gambling and he is very noble to stick to his morals and turn down the job.
I myself would have been a bit more proactive and taken the job, then used the knowledge gained to screw the gambling companies out of money, and then donated it to charity.
I wouldn't class banks/morgages/loans as gambling. The banks are providing a service, and I would expect a fee for this service. I don't feel that it is necessary for UAE banks to disguise loans as a "leaseback" scheme like they do. It just ruins their credability.
With the slight risk of hijack, do people think that Dubai can survive without introducing casino style gambling?
In particular, who is going to fill the 100,000 or so rooms at 'Bawadi' (aka DuVegas) if there isn't that extra ingedient like at LasVegas. What the hell are they going to spend their money on?
At christmas island they opened a casino 15 years ago and the Indonesians went nuts for it. I suspect that the same would happen here in Dubai.