2 Replies Latest reply on Dec 14, 2001 3:47 PM by davidjencks

    Dynamic loading of jars

    estebanlm

      Hi!
      I need to load/unload jars dynamically, and I don't know how do that...
      In october someone asks the same question and get as answer: "go to the training!", well, I live in the other side of the word, and I don't have the time and the money that's needed for do that (and my english sucks too), so PLEASE, HELP ME!!! How I load the libraries...
      Thanks a lot
      Esteban

        • 1. Re: Dynamic loading of jars
          peter_f


          > I need to load/unload jars dynamically, and I don't
          > know how do that...

          Try using a classloader ...

          • 2. Re: Dynamic loading of jars
            davidjencks

            need more info. What classloader scope? server? app? When? Why?

            in 2.4 you can use an ear or maybe the j2eescopedDeployer to reversibly load app-scope jars.

            in 3 you can use sars or classpath refs from a --service.xml file. There are lots of examples in the 3 distro and lots of discussion/arguments on the dev list.