Went to Dubai last year. Did not particularly enjoy the trip, partly due to the wrong selection of travel partner, and partly due to the fact the whole country felt too fake and artificial. The society there also seemed too oppressive and hypocritical for me. The vast number of imported foreign laborers reminded me of modern day slavery.
After Dubai, went to Abu Dhabi.
Recommended length of stay for both cities- 4 nights