5 Replies Latest reply: Sep 30, 2010 2:57 PM by 673780 RSS

    Using ClassLoader to Create Sandboxes

      I have a pretty sizable application (one that uses several utility JARs) that I would now like to instantiate a multiple number of times within the same JVM. Unfortunately, many parts of the app (some not under my control) use class variables for their operation.

      Is it possible to reuse the system classloader (the same one that can load classes from JARs and already knows the classpath) so that I can place each instance of my app in its own sandbox?