3 Replies Latest reply on May 28, 2018 2:51 PM by wuweibear

    In jboss eap 7, I want a non-ejb jar access war file. How to do it?

    wuweibear

      The file structure is the following:

       

      test.ear has one jar file testjar.jar and one war file testwar.war

      testjar.jar

           L  test1.java

           L  test2.java

       

      testwar.war

           L   testwar1.java

           L   testwar2.java

       

      testwar.war was treated as subdeployment,

       

      Now, testwar1.java can access test1.java in testjar.jar  but test2.java cannot access testwar2.java in war file.

       

      Now my question is how the class in jar file can access the class in war file.

       

      Thanks