java - Multiple jar version and reading classes from particular jar -
there present application read old version of apache common io version 1.2 . releasing few new updates using latest 2.3 after long time , want run new codes using latest commons io jar file. how can handle issue new codes reads latest common io jar , older old version. ( in short don't touch running )
searching online have realized need load classes confused whether should urlclassloader or classloader , if class loading right path how can read classes ,since classes inside have dependency each other, if call main class run codes executes without worrying dependency or calling each class
please suggest ? in advance.
class loaders part of solution, tricky implement yourself. try using osgi going if configure properly.
Comments
Post a Comment