How has the Kingdom endured as well as it has? Between the overwhelming influx of refugees (pre-1996 refugees, of course), the assassination of King Abdullah, lack of oil funds, etc., I was surprised to learn how relatively stable it has been. What are some of those reasons?
The first is that they took many Palestinian refugees into their care. A big majority of Jordanians are originally from Palestine. They don't have much beef with any country completely against Israel because of that, nor do they have as much beef as the rest of the Arab world with Israel.
The second is that they are an important ally for the US. I think they are the main Arab (maybe even Islamic) ally to them. They have been designated a major non-NATO ally of America, and so have a degree of protection. This is another reason why they wouldn't have much issues with Israel.
Also, the Hashemite family is one of the most respected Islamic families. Jordan is made up of a bunch of refugees, Palestenians, Jordanian and Arab tribes along with different factions. Some tribes are very wealthy and some tribal leaders can't even afford a car. The tribes make up the government and security apparatus. So the Royals need the tribes like the tribes need the royals. Without the tribes Jordan would fall into civil war.
The West only understands the concept of nationalism and doesn't understand why they aren't happy with the arbitrary groupings.
That's why Iraq in particular is so unstable, there are 3 main groups, Kurds, Sunni, Shiite, that don't want much to do with each other but the West keeps insisting they should be 1 nation. Nationalism is anathema for many tribal nations.