3 Replies Latest reply on Sep 24, 2014 10:35 AM by Andrei Tchijov

    Making one WAR depend on another

    Andrei Tchijov Newbie

      Hi,

       

           I was reading http://www.mastertheboss.com/jboss-server/jboss-as-7/jboss-as-7-classloading and wonder if I understand something right.

       

      Applications that are marked as dependent to the deployment.WebApp.war module will also have access to its dependencies:

      Does it mean that I can deploy FOO.war to wildfly, than add Dependenicies: deployment.FOO.war into META-INF/MANIFEST.MF of BAR.war and than auto-magically once deployed, code in BAR.war will get access to classes loaded in FOO.war?

       

      Cheers,

      Andrei