OOJNI Add-in .NET (C#) for VS2005 3.00.07
bject-Oriented JNI Add-In is a tool developed for MS Visual Studio 2005. It generates C# code (OOJNI classes) for java byte code (SUN/IBM/MS JDK1.1.x, JDK1.3.x and later) selected and includes it into the active project. It also makes JNI implementation of Java class native methods. At the same time OOJNI Add-In makes all project setting for using, compiling and running the code generated.
Developer uses OOJNI as regular C# classes. Each OOJNI class wraps low-level JNI code to accesses to Java Class fields and methods. All data type conversions are hidden from Developer. Each java object reference encapsulated into special OOJNI class ? Java Reference Wrapper, which makes a shallow copy of the java object reference in different OOJNI classes. This approach makes possible to reduce a number of java references used in JNI code.
This update includes option that gives Developer means to generate implementation of a Java interface with .NET Class. This feature (implemented only in Release Version) is useful when Java backward calls are needed.