4 Replies Latest reply on Dec 19, 2012 2:17 AM by xin.zhang.song

    Question about ear classloader

    xin.zhang.song

      Hi All

       

      I have a question about jboss-deployment-structure.xml file

      I have a ear package named my app, the following is the structure of it:

      myapp.ear

      |--- ejb1.jar

      |

      |--- ejb_util.jar

      |

      |--- ejb2.jar

       

      Q1: Can I change the classloader of ejb_util.jar if I put the jboss-deployment-structure.xml into the ejb_util.jar/META-INF folder ?

       

      Q2: if ejb_util.jar will use the class inside a moudle, and How to make this jar references module‘s class?

       

      Thanks

       

      Xin