depends on which nationality you are.

also, you can avail visa upon arrival if your work designation is stated in your UAE RP like manager, oic, other high position.

you can check with qatar airways as well