how to load jar in run-time
I have problem for loading jar automatically in run-time.
my project is basic-web and use spring manage ojbect instance, I have a operation in dao need to call the 3rd Party software(it include some jar). originally, the 3rd Party company only published the first version, so I import the jar and call it run successlly, but now, they have published the second version, the second and first version have the same interface and different implementation, so my problem is I want choose different 3rd Party version in run-time, I don't want change my code in dao, ervertime I call the operation I must try to choose the different version depend on the input parameter. anyone have good Solutions?
Message was edited by: jammychen