next up previous contents
Next: UNIX Platforms Up: mpiJava: An Object-Oriented Java Previous: Derived Datatype vs Object   Contents

mpiJava Implementations

To ``port'' mpiJava, it is necessary to have a native MPI library, a version of the Java Development Toolkit (JDK) and a C compiler. mpiJava consists of two main parts: the MPI Java classes and the C stubs that binds the MPI Java classes to the underlying native MPI implementation. We create these C stubs using JNI--the means by which Java can call and pass parameters to and from a native API, see the next section for details. Figure 4.3 provides a simple schematic view of the software layers involved.

Figure 4.3: Software Layers

To port mpiJava onto a new platform, generally two steps are needed.


Bryan Carpenter 2004-06-09