O'Jacaré, une interface objet entre Objective Caml et Java

2004; Volume: 10; Issue: 2-3 Linguagem: Inglês

10.3166/objet.10.2-3.75-88

ISSN

1958-5756

Autores

Emmanuel Chailloux, Grégoire Henry,

Tópico(s)

Model-Driven Software Engineering Techniques

Resumo

We present in this paper a new code generator, called O'Jacare, to interoperate between Java and Objective Caml through their object model. O'Jacare 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'Jacare generates all needed wrapper classes and enables static typechecking in both worlds. Although the IDL is an intersection from these two object models, O'Jacare allows to combine all features from both.

Referência(s)