Thursday, February 12, 2004 10:22 AM
I am writing an application in which I am using the java.lang.reflect.Method.invoke(object,object) method. In one particular case I have a hashtable of methods from which I retrieve a method to invoke. I am wondering if invoking the same instance of a method more than once concurrently could potentially pose some sort of synchronization issue (i.e., would it be better to have a method pool or even create Method instances on the fly?).
Thanks in advance for your help