Hi All, I'm currently writing an applet for a project. What I want to do is inspect the applet while it is running in a browser using the Reflection API for the purpose of system testing. Is this possible?
The code doing the reflection needs to live in the same JVM as the one being reflected - connecting from the outside is not possible. Other possibilities to inspect a running JVM include JMX(although your applet needs to be especially written to support that), or JVMTI, which is a low-level interface meant for debugging and profiling.
The test scenario that my boss has come up with is to deploy the applet to our dev server and then to run it on a client machine's browser and to then use Reflection to control the running of the applet. Is this possible?
Joined: Mar 22, 2005
This seems to be the same question as before, to which the answer is 'no'. It does not matter where the applet is served from, and where it is served to. Am I missing something?