Application.xml: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
=Overview=
=Overview=


Goes into the META-INF/ directory of the EAR.
Goes into the META-INF/ directory of the EAR. Can be generated automatically by [[Maven_ear_Plugin|Maven ear plugin]].


<pre>
<pre>

Revision as of 02:14, 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>

TODO

Media:Example.ogg TODO https://docs.jboss.org/author/display/AS71/Developer+Guide#DeveloperGuide-application.xml