Different versions of Jar
I have a webapplication that uses Saxon8.jar but now I have to add some new functionality to the webapplication and for that Saxon9.jar is ideal. Without affecting or breaking previously written code, how can I dynamically load/unload JAR (saxon9.jar specifically)?
Whenever the new functionality in the webapplication is invoked, Saxon9.jar is loaded, completes the job, and then unloads.
I have tried URLCLassLoader but that doesn't seem to work for me or maybe I do not know how to use it to get Factory classes and then objects from the factory.
If anyone can help that would be really helpful.