Application.xml: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
</application> | </application> | ||
</pre> | </pre> | ||
=Elements= | |||
==<application-name>== | |||
The name of the JEE application. The value specified here overrides the default ''[[EJB_Concepts#application-name|application-name]]'' component of the JNDI names for beans deployed as part of this application. | |||
=TODO= | =TODO= | ||
[[Media:Example.ogg]] | [[Media:Example.ogg]] | ||
<font color=red>'''TODO''' https://docs.jboss.org/author/display/AS71/Developer+Guide#DeveloperGuide-application.xml</font> | <font color=red>'''TODO''' https://docs.jboss.org/author/display/AS71/Developer+Guide#DeveloperGuide-application.xml</font> |
Revision as of 23:10, 23 March 2017
Overview
Goes into the META-INF/ directory of the EAR. Can be generated automatically by Maven ear plugin.
<application xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="6" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd"> <application-name>jboss-as-ejb-in-ear</application-name> <initialize-in-order>true</initialize-in-order> <module> <ejb>myBeans.jar</ejb> </module> <module> <web> <web-uri>myApp.war</web-uri> <context-root>myApp</context-root> </web> </module> </application>
Elements
<application-name>
The name of the JEE application. The value specified here overrides the default application-name component of the JNDI names for beans deployed as part of this application.
TODO
Media:Example.ogg TODO https://docs.jboss.org/author/display/AS71/Developer+Guide#DeveloperGuide-application.xml