1 Reply Latest reply on Oct 18, 2011 7:20 AM by bluesockets

    JBoss AS7 Class Loading

    divyakprabh

      Hi EveryONE!!!!

       

      I thought of using Jboss AS7 for deploying my applications, earlier i used to deploy the applications in JBoss4.2.

       

      I wanted to know more about class loading configuration in JBoss AS7.

       

       

      Can anyone one help me out in this.

       

      Thanks in advance.!!!

        • 1. Re: JBoss AS7 Class Loading
          bluesockets

          Take a look at http://community.jboss.org/wiki/JBossAS7UserGuide for a general, one page overview. Note some of the information there may be outdated. https://docs.jboss.org/author/display/AS7/Documentation has more details. In JBoss 7 they reworked the classloading so that the server's jars are completely divorced from your deployed application. You'll want to deploy your jar file in your artifact's lib directory war/WEB-INF/lib or ear/lib. For your data source you'll want to stick the driver jar file in your deploy directory or add it to the server's classpath (located in a folder called modules) and reference it in your standalone or domain xml files depending on your mode. Best thing to do is get your hands dirty with as much reading as you can before starting.

          1 of 1 people found this helpful