Ruby on Rails is interesting because of the little amount of code you need to write, compared to Java for example. My RoR back end server deals with the database (Oracle in my case) and communicates with a Flex front end via XML. Of course, you can use AMF, but in my situation I don't have such high performance requirements.
Chris.