All, We have upgraded a jar to a newer version. But we need few applications to use the older version and other applications to use the newer version? We have specified in manifest the appropriate path of the jar to be used? We see some issues with two versions of same jar. Do we need to have a separate classloader for each application? What is your suggestion?
posted 11 years ago
If this is a desktop application, you should have no problem, because you can include just the correct jar in the app. If this is a web app that needs to access both versions, and you can't separate it into two web apps, then -yes- you would need to use classloaders to separate the two namespaces from each other.