Patent ID: 6886172

Claim:
A method for mapping procedural code to object-oriented classes, comprising: starting a graphical user interface (“GUI”) in a procedural programming language process space, wherein a user enters a command through the GUI; initializing a mapping layer in an object-oriented programming language process space, wherein the mapping layer comprises entry-points that have corresponding algorithms that invoke object-oriented class instantiation methods and/or remote method invocations (“RMIs”); executing a GUI callback in response to the command, wherein the GUI callback comprises procedural code and wherein executing a GUI callback in response to the command comprises: invoking one of the entry-points, wherein the object-oriented programming language is Java, the mapping layer is accessed through a Java Native Interface (“JNI”) and invoking one of the entry-points comprises: invoking a JNI application programming interface (“API”) call, wherein the JNI API call invokes one of the entry-points; the mapping layer executing an algorithm corresponding to the invoked entry-point; and wherein the mapping layer is proxied in the procedural programming language process space by a proxy object that includes proxy object methods corresponding to the entry-points, and executing a GUI callback further comprises: invoking one of the proxy object methods, wherein the invoked proxy object method performs the invoking one of the entry-points.