Hello,
I am creating a java client using different libraries, they are the same base, but with different optimizations.
Is there a pattern (or something else) that I can use to load different libraries, e.g.:
java -jar myapp.jar 1 (loads with libraries from set 1 and imports correct and creates a client using this library)....
Update: I have tried OSGI and it seems like it loads jars as services. I need a way to load very similar libraries upon startup an app. The library has exactly the same package/method names, but differ in some calculation. I need to have the exact same client to get realistic results. Thanks