Originally posted by Babar Qadri: I have a method in my class. But I dont want to call it straight. Infact, I am getting the method call from database as a string. The string looks like, "classA.calculate(valueA)".
I get this method call, statement, as string using rs.getString(). Is there any way to execute this statement?
Whenever there is a need to bind properties with java bean components, and such binding should be custom based, one needs to use reflection API. I think while you're involved in any of the framework creation, that may need.
Work Hard, Expect The Worst...<br /> <br />Bimal R. Patel<br />(SCJP 1.2, SCWCD 1.4)
I'd appreciate it if you pronounced my name correctly. Pinhead, with a silent "H". Petite ad: