There is no -ra.xml deployment in JBoss AS 7 -- this only works in IronJacamar/Standalone.
The proper way to do it is to add an META-INF/ironjacamar.xml with the activation configuration. Schema: http://docs.jboss.org/ironjacamar/schema/ironjacamar_1_0.xsd
With META-INF/ironjacamar.xml you mean the RAR-file?
At least that's what I found in the manuals today.
That's not what I'm looking for.
In the past I deplyoed an controller.rar file once.
Then for every ear-file deployed afterwards we also generated a ...-ds.xml file defining the connection-factory definition based on http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd
Because each application connects to different lagacy system.
How to achieve this with Ironjacamar within AS7?
But where do you mean to put this information?
I know I can define them in standalone.xml or using the WebConsole.
But can I have a separate external xml-file for each required connection as I had in the past for AS6 and AS4?
To deploy and undeploy it along with the ear file?
I cannot name all the connections in advance.