next up previous contents
Next: Communication infra-structure: Channels Up: Selected Notes on HPJava Previous: Java and Distributed Simulation.   Contents

HPJava: Work in progress. Bryan Carpenter, Yuh-Jye Chang, August 9, 1996

Our present emphasis is on providing class libraries to facilitate communication and parallel computation within the framework of Java. For now this means communicating Java applications, but soon we will provide class libraries which allow applets downloaded from a common server to communicate (in the short term, by having their server transparently through-route communications).

We are implementing (and have already prototyped) a class library for channel communication layered on the Java socket interface.

It may also be useful to have a Java interface to MPI (by which we mean some class library that allows a Java program to communicate with a C or Fortran program which itself uses the standard MPI interface). This could be implemented by ``native methods'' wrappers around some pre-existing MPI implementation. In the view of one of us (DBC) this will only be particularly useful if the underlying MPI implementation supports dynamic spawning of new processes.

We are also considering various options for implementing parallel arrays and collective communication within Java. The naive first idea is to simply extend the C++ STL approach to provide parallel arrays. This now looks quite difficult because of the limitations of the Java language [Java jettisoned most of the interesting features of C++ that make STL work...]. We are presently considering a lower level approach, closer in spirit to the nascent PCRC interface for Fortran. This approach looks more practical to realize in Java, and may still be useful to the application programmer.



Subsections
next up previous contents
Next: Communication infra-structure: Channels Up: Selected Notes on HPJava Previous: Java and Distributed Simulation.   Contents
Bryan Carpenter 2002-07-12