Computer Science – Software Engineering
Scientific paper
1999-07-12
Computer Science
Software Engineering
27 pages, 18 figures; Submitted to Software Practice & Experience; Withdrawn after 3 month negotiation failed to reach comprom
Scientific paper
A 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.
No associations
LandOfFree
A Reasonable C++ Wrappered Java Native Interface does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.
If you have personal experience with A Reasonable C++ Wrappered Java Native Interface, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and A Reasonable C++ Wrappered Java Native Interface will most certainly appreciate the feedback.
Profile ID: LFWR-SCP-O-130882