| |
OOJNI (Object Oriented Java Native Interface) SDK Achieve usability of C++ code within Java platform
The most expensive part of Java Technology is Java Native Interface SDK. It gives Java Programmer means to write some native code for java application in C++ for using specific OS resources. Writing JNI code is based on good knowledge of java programming, C++ coding and OS API. JNI code development takes much time for writing and debugging. Usually people who can write JNI code are very expensive for companies. Three years ago we started to develop a tool that automates JNI code writing for MS Windows. First this tool was developed for MS VC++6.0 for writing JNI code of Digital Cortex by Composia Ltd. Then it was cast to MS VC++7.1 and MS VS.NET as Add-In (and in the future we planning to cast it for Borland C++, UNIX and Linux OS- each Edition will be for Java 32 and 64Bits). This is the first attempt to automate development of JNI code with MS Visual Studio. The tool is being used in development of Composia Software Ltd products.
Object Oriented JNI Add-In in design time modifies Developer's Project and sets the project properties, which is not a simple task to do. OOJNI Add-In is accompanied with OOJNI SDK header files and Runtime library JNIHelperRT.DLL. Using OOJNI SDK reduce to minimum the knowledge of JNI and time of writing JNI codes. As a result it will save a huge amount of money and time for companies which use this tool.
OOJNI SDK is available in two versions
- The Demo and Evaluation version, non-commercial and free.
- The main version, commercial and royalty-free.
Java ByteCode Viewer
Making Javain OOJNI projects we developed libraries that include functions of parsing source
scripts/codes for generating C++ and Java sources. Particularly, we developed Java byte
code parser in pure C++ without use of java tools. The most part of it was developed with
ANTLR tool (see http://www.antlr.org)
Byte Code Viewer is using by Javain for developing OOJNI Add-Ins, especially in debugging specific features like:
- Generating byte code and JNI code that implement a Java interface,
- Generating byte code and JNI code for delegating any class/interface selected,
- Generating JNI implementation of Java native methods, etc.
|
|