O'Jacare : une interface objet entre Objective Caml et Java
Résumé
We present in this paper a new code generator, called O'Jacaré, to interoperate between Java and Objective Caml through their object model. O'Jacaré defines a basic IDL (Interface Definition Language) for classes and interfaces description to communicate from Objective Caml to Java. For communications from Java to Objective Caml we add a callback mechanism. The implementation is based on each language low-level interfaces (Java Native Interface for Java and external for Objective Caml) and uses an extended version of the camljava library. O'Jacaré generates all needed wrapper classes and enables static typechecking in both worlds. Although the IDL is an intersection from these two object models, O'Jacaré allows to combine all features from both.