A Reasonable C++ Wrappered Java Native Interface

dc.creatorBordelon, Craig
dc.date1999-07-12
dc.date.accessioned2026-07-07T03:24:14Z
dc.date.available2026-07-07T03:24:14Z
dc.descriptionA reasonable C++ Java Native Interface (JNI) technique termed C++ Wrappered JNI (C++WJ) is presented. The technique simplifies current error-prone JNI development by wrappering JNI calls. Provided development is done with the aid of a C++ compiler, C++WJ offers type checking and behind the scenes caching. A tool (jH) patterned on javah automates the creation of C++WJ classes. The paper presents the rationale behind the choices that led to C++WJ. Handling of Java class and interface hierarchy including Java type downcasts is discussed. Efficiency considerations in the C++WJ lead to two flavors of C++ classes: jtypes and Jtypes. A jtype is a lightweight less than full wrapper of a JNI object reference. A Jtype is a heavyweight full wrapper of a JNI object reference.
dc.description27 pages, 18 figures; Submitted to Software Practice & Experience; Withdrawn after 3 month negotiation failed to reach compromise on copyright (Wiley Publisher vs. Telcordia Technologies); jH software inquiries to http://www.telcordia.com
dc.identifierhttps://arxiv.org/abs/cs/9907019
dc.identifierhttp://arxiv.org/abs/cs/9907019
dc.identifier.urihttp://salesiana.dossiersoluciones.com/handle/123456789/33245
dc.subjectSoftware Engineering
dc.subjectD.2.3
dc.titleA Reasonable C++ Wrappered Java Native Interface
dc.typetext

Files

Collections