Depending on your passport, you may not need a visa. For me, for example, I have a British passport and do not need a pre-arranged visa as they give you an entry and exit stamp when you come and go.
If you do need a visa, then Emirates airlines have been offering to organise them for people who are flying with them. Most hotels in Dubai will also help you with a visa. almost 8 years ago