Is there any proper way to do it ? In my engineering project, I am actually uploading .jar files or directories(which contain .class files).... After uploading a particular .jar/.class file from a directory path different than the original classpath, how do i invoke Reflection on it ?
My questions are ::
1) How to set classpath for a project/jar which we upload from a different directory at run time ?
2) Is there a way to invoke reflection of a .jar file just like we do it on a single .class file ?