A system and method for enabling the efficient accessing of Java objects and
methods
by legacy GUIs is disclosed. The system and method provide a base proxy object
that encapsulates the JNI APIs necessary for calling Java methods across the JNI
boundary. Legacy proxy objects proxy the Java objects and enable legacy GUIs to
issue method requests as if the legacy proxy objects were fully functional objects.
The legacy proxy objects receive method requests from the GUIs and call base proxy
object methods that in turn make the necessary JNI API calls to call Java methods.