I have a resource adapter that is packaged as part of an .ear file.
Neither the .ear file nor the .rar file within it are supposed to be application server specific.
I have an ejb in a jar in the same .ear that declares a @Resource field. My intention is to have the user connection factory injected into that @Resource field.
Currently, JBoss 6 M3 requires a mapped-name attribute on that @Resource annotation.
What value should I put there?
That of course implies the question: how do I set what name a resource adapter is available under?
Bashed my way through the horribly incomplete and out of date http://community.jboss.org/wiki/DSdotXML. That seemed to do it.
I wonder what the expected behavior is if I remove my .ear file?