Springer Nature is making SARS-CoV-2 and COVID-19 research free. View research | View latest news | Sign up for updates

A grid middleware for distributed Java computing with MPI binding and process migration supports

  • 57 Accesses

  • 13 Citations


“Grid” computing has emerged as an important new research field. With years of efforts, grid researchers have successfully developed grid technologies including security solutions, resource management protocols, information query protocols, and data management services. However, as the ultimate goal of grid computing is to design an infrastructure which supports dynamic, cross-organizational resource sharing, there is a need of solutions for efficient and transparent task re-scheduling in the grid.

In this research, a new grid middleware is proposed, called G-JavaMPI. This middleware adds the parallel computing capability of Java to the grid with the support of a Grid-enabled message passing interface (MPI) for inter-process communication between Java processes executed at different grid points. A special feature of the proposed G-JavaMPI is the support of Java process migration with post-migration message redirection. With these supports, it is possible to migrate executing Java process from site to site for continuous computation, if some site is scheduled to be turned down for system reconfiguration. Moreover, the proposed G-JavaMPI middleware is very portable since it requires no modification of underlying OS, Java virtual machine, and MPI package. Preliminary performance tests have been conducted. The proposed mechanisms have shown good migration efficiency in a simulated grid environment.

This is a preview of subscription content, log in to check access.


  1. [1]

    Ian Foster. The Grid: A new infrastructure for 21st Century science.Physics Today, Feb., 2002, Vol. 55. URL: http://www.aip.org/pt/vol-55/iss-2/p42.htmi.

  2. [2]

    MPICH-G2: http://www.hpclab.niu.edu/mpi/.

  3. [3]

    Javasoft. Java Object Serialization. http://java.sun.com/j2se/1.4/docs/guide/serialization/index.html.

  4. [4]

    Javasoft. Java Virtual Machine Debugger Interface. http://java.sun.com/j2se/1.4/docs/guide/jpda/jvmdispec.html.

  5. [5]

    Butler R, Engert D, Foster Iet al. A national-scale authentication infrastructure.IEEE Computers, 2000, 33(12): 60–66.

  6. [6]

    Foster I, Kesselman C, Tsudik G, Tuecke S. A security architecture for computational grids. InProc. 5th ACM Conference on Computer and Communications Security Conference, 1998, pp.83–92.

  7. [7]

    Globus Toolkit 2.0: http://www.globus.org.

  8. [8]

    Ricky K K Ma, Cho-Li Wang, Francis C M Lau. M-JavaMPI: A Java-MPI binding with process migration support. InThe Second IEEE/ACM International Symposium on Cluster Computing and the Grid (CC-Grid 2002), Berlin, Germany.

  9. [9]

    Sun Java2 SDK1.4.0. http://java.sun.com/j2se/1.4/docs/

  10. [10]

    Java HotSpot[TM] Virtual Machine. Full-speed debugging. http://java.sun.com/j2se/1.4/docs/guide/jpda/enhancements.html.

  11. [11]

    Mintchev S. Writing programs in JavaMPI. TR MAN-CSPE-02, Univ. of Westminster, London, UK, 1997.

  12. [12]

    Sava Mintchev, Vladimir Getov. Towards portable message passing in Java: Binding MPI. Technical Report TR-CSPE-07. University of Westminster, School of Computer Science, Harrow Campus, July 1997.

  13. [13]

    Bake M. MPIJava: A Java interface to MPI.The 1st UK Workshop on Java for HKCN, 1998.

  14. [14]

    Dincer K. A ubiquitous message passing interface implementation in Java: JMPI. InProc. 13th International and 10th Symposium on Parallel and Distributed Processing, 1999.

  15. [15]

    Tong WeiQin, Ye Hua, Yao WenSheng. PJMPI: Pure Java implementation of MPI. InProc. the 4th International Conference on High Performance Computing in the Asia-Pacific Region, 2000.

  16. [16]

    Ma M J M, Wang C L, Lau F C M. JESSICA: Java-enabled single-system-image computing architecture.Journal of Parallel and Distributed Computing, Oct., 2000, 60(10): 1194–1222.

  17. [17]

    Peine H, Stolpmann T. The architecture of the Ara platform for mobile agents. InProc. the Second International Workshop on Mobile Agents, (MA'97), 1997.

  18. [18]

    Ranganthan M, Acharya A, Sharma S D, Saltz J. Network-aware mobile programs. InProc. the USENIX Annual Technical Conference, Anaheim, California, 1997.

  19. [19]

    Bouchenak S. Pickling threads state in the Java system. InProc. the Third European Research Seminar on Advances in Distributed Systems, (ERSADS'99), 1999.

  20. [20]

    Dahm M. Byte code engineering. InProc. JIT'99, 1999.

  21. [21]

    Eddy Truyen, Bert Robben, Bart Vanhauteet al. Portable support for transparent thread migration in Java. InProc. International Symposium on Agent Systems and Applications/Mobile Agents (ASA/MA'2000), September, 2000, Zurich, Switzerland.

Download references

Author information

Correspondence to Lin Chen.

Additional information

CHEN Lin received her B.Sc. degree in computer science in 2001 from Wuhan University, P.R. China. She is currently a Ph.D. candidate in the Department of Computer Science and Information Systems at The University of Hong Kong. Her research interests include Java process migration and middleware for grid, etc.

WANG ChoLi obtained his Ph.D. degree in computer engineering from the University of Southern California in 1995. He is currently an associate professor in the Department of Computer Science and Information Systems at The University of Hong Kong. His research interests are mainly in the areas ofcluster andgrid computing. He has served as a member of the executive committee and the region coordinator (Hong Kong) forIEEE Task Force on Cluster Computing (TFCC) since 1999. He is also member of Asia-Pacific grid (Apgrid).

Francis C. M. Lau received his B.Sc. degree from Acadia University, Canada, and a M.Math. and a Ph.D. degree from the University of Waterloo. He joined the Department of Computer Science and Information Systems at the University of Hong Kong in 1987 where he is now the head of the department. His research interests are parallel and distributed computing, object-oriented programming, operating systems, and Web and Internet computing.

Rights and permissions

Reprints and Permissions

About this article

Cite this article

Chen, L., Wang, C. & Lau, F.C.M. A grid middleware for distributed Java computing with MPI binding and process migration supports. J. Comput. Sci. & Technol. 18, 505–514 (2003). https://doi.org/10.1007/BF02948925

Download citation


  • grid
  • middleware
  • MPI
  • Java
  • process migration