Having been able to merge files into jbosscmp-jdbc.xml, I have been trying without success to merge ejb-ref XML lines into the jboss-web.xml file.
Example:
my-jboss-ejb-web.xml
<ejb-ref>
<ejb-ref-name>ejb/SecuredEJB</ejb-ref-name>
<jndi-name>ejb/Public</jndi-name>
</ejb-ref>
<ejb-ref>
<ejb-ref-name>ejb/PrivateEJB</ejb-ref-name>
<jndi-name>ejb/Private</jndi-name>
</ejb-ref>
into jboss-web.xml:
<jboss-web>
<security-domain>java:/jaas/example1</security-domain>
<!– should be inserted here –>
</jboss-web>
Support for this feature would be great. 🙂