I have a Spring based simple JavaSE application packed into a jar file with spring configuration xml in the META-INF. A main method starts the application. Everything works fine, but I run into a problem: I have to use an external Jar file(s) which names are not predefined and I have to access them runtime. I don't know how could I solve this. Maybe I should do class loading manually, or something, but I have never done such thing before.
I'd appreciate any recommendation or idea if you have any experience with such things?