Runtime Translation of Java Based APIs for Use with Native Applications
Original Publication Date: 2000-Jan-01
Included in the Prior Art Database: 2003-Jun-20
A method and apparatus for developing a translation system for converting legacy API calls to calls using method calls in a Java Implementation. This conversion will be done by the present invention "on the fly", at runtime, so the user need not rewrite even one line of code. The present invention related to a computer program that implements only an object-oriented API but can process calls from an application that makes native calls. It specifically relates to any application that was once written as a native application and has now been rewritten in Java and has an API that was used by outside programs and applications. Under these conditions, the erstwhile users of these APIs would be effectively cut off because Java has no means of hearing the API requests. Java is picking up great momentum in the computing industry because of its promise of platform independence, it is easily distributed, and it is easy to use and is tolerant of poor programming practices. Many software makers have started implementing Java versions of their existing products, however they are often reduced function versions. one of the casualties of the new implementation is always any published API. By using this described method, the APIs can be supported. The invention is an apparatus for communicating instructions from a native application to an API hosted by a Java program within the JVM. Its focus is to allow existing programs to continue to work with the Java implementations without needing a rewrite.