2 Replies Latest reply on Jan 9, 2015 2:04 AM by valsaraj viswanathan

    Application.xml file for EAR

    valsaraj viswanathan Master

      It would be helpful if anybody can share the latest sample of application.xml file used in the manifest of EAR.

       

      Here is the file that I am using now:

      <?xml version="1.0" encoding="UTF-8"?>

      <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">

      <initialize-in-order>true</initialize-in-order>

      <display-name>Sample Application</display-name>

      <module>

      <ejb>sampleEJB.jar</ejb>

      </module>

      <module>

      <web>

      <web-uri>sampleWEB.war</web-uri>

      <context-root>/Sample</context-root>

      </web>

      </module>

      </application>