For developing joint Java and RoR applications (e.g. Java backend, RoR frontend), it would be useful to be able to deploy .yml files as part of .ear packages.
I've prepared a demo project: http://github.com/adamw/torquebox-in-ear-test. In the java backend there's one class, Test, with a method getMessage(). In home_controller.rb, this value is read: @message = Test.new.get_message() and then displayed.
This can be made to work right now if the ear is placed in the DefaultDomain, so if all classes are visible to every other deployment (this can be achieved by adding a jboss-classloading.xml to the META-INF of the ear:
However it would be much better if the ear could be deployed normally, and the .yml application as part of it.