0 Replies Latest reply on Oct 22, 2004 4:19 AM by gumreal

    application.xml or jboss-app.xml, which one should I use in

    gumreal

      I am using jboss3.2.6.
      The structure of my ear looks like this:

      MyApp.ear
      ----META-INF
      ----application.xml
      ----jboss-app.xml
      ----MyEjb.jar
      ----MyWeb.war
      ----MyHibernate.har


      application.xml:

      <?xml version="1.0" encoding="ISO-8859-1"?>
      <application>
       <display-name>MyApp</display-name>
      
       <module>
       <web>
       <web-uri>MyWeb.war</web-uri>
       <context-root>/MyWeb</context-root>
       </web>
       </module>
      
       <module>
       <ejb>MyEjb.jar</ejb>
       </module>
      </application>
      


      jboss-app.xml
      <?xml version='1.0' encoding='UTF-8' ?>
      <jboss-app>
       <loader-repository>jboss.test:loader=MyApp.ear</loader-repository>
       <module>
       <har>MyHibernate.har</har>
       </module>
      </jboss-app>
      

      Although the ear file has been deployed without any exception, but I do not understand the meaning of loader-repository element, and what is for jboss.test:loader? (I copied this line of code from jboss-app3.2.dtd)
      Can you explain that for me? thanks:)