lundi 17 octobre 2016

How to process a class in remote machine?

Usually we can use java reflection to get a class by simply doing "Class.forName("fully qualified class name")".

Now I have a class file (.class) located in client machine. For example, if the client machine is windows and the the class file myClass.class is located in c:\tmp\myClass.class. I have to "process" this class file in another machine in the server to know the class's methods etc.

Please do not ask why this is needed:-) Any suggestions on how to do it?





Aucun commentaire:

Enregistrer un commentaire