Skip to main content
Log in

Transparent migration of Java-based mobile agents: Capturing and re-establishing the state of Java programs

  • Published:
Personal Technologies Aims and scope Submit manuscript

Abstract

In this paper we describe a way to save and restore the state of a running Java program. We achieve this on the language level, without modifying the Java virtual machine, by instrumenting the programmer's original code with a preprocessor. The automatically inserted code saves the runtime information when the program requests state saving and re-establishes the program's runtime state on restart. The current preprocessor prototype is used in a mobile agent scenario to offer transparent agent migration for Java-based mobile agents, but could generally be used to save and re-establish the execution state of any Java program.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Baumann J, Hohl F, Rothermel K, Strasser M. Mole: concepts of a mobile agent system. WWW J, Special issue on applications and techniques of Web agents. Balzer, 1998; 1(3):123–137

    Google Scholar 

  2. Smith JM. A survey of process migration mechanisms. Operating System Rev 1998;22(3):28–40

    Google Scholar 

  3. Mira da Silva M. Mobility and persistence. In: Mobile Object Systems (Lecture Notes in Computer Science 1222) Springer Berlin Heidelberg New York, 1997; 157–175

    Google Scholar 

  4. Sun Microsystems. Object serialisation specification. JDK Online Documentation ‘docs/guide/serialisation/spec’, 1996, 1997

  5. Peine H, Stolpmann T. The architecture of the Ara platform for mobile agents. In: Rothermel K, Popescu-Zeletin R (eds) Mobile agents. Proceedings of MA'97. (Lécture Notes in Computer Science 1219) Springer, Berlin Heidelberg New York, 1997; 50–61

    Google Scholar 

  6. Ranganathan M, Acharya A, Sharma S, Saltz J. Networkaware mobile programs. In: Proceedings of Usenix'97, Anaheim, CA, 1997

  7. Gray R. AgentTcl: a transportable agent system. In: Proceedings of CIKM'95 Workshop of Intelligent Information Agents, 1995

  8. Java Compiler Compiler,http://www.suntest.com/JavaCC/

  9. White JE. Telescript technology: the foundation for the electronic marketplace. Whitepaper by General Magic, Inc., Sunnyvale, CA

  10. Douglis F, Ousterhout J. Transparent process migration: design alternatives and the Sprite implementation software — practice and experience (SPE), August 1991; 757–785

  11. Fünfrocken S. How to integrate mobile agents into Web servers. In: Proceedings of the WETICE'97 Workshop on Collaborative Agents in Distributed Web Applications, Boston, MA, 18–20 June, 1997, 94–99

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Stefan Fünfrocken.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Fünfrocken, S. Transparent migration of Java-based mobile agents: Capturing and re-establishing the state of Java programs. Personal Technologies 2, 109–116 (1998). https://doi.org/10.1007/BF01324941

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01324941

Keywords

Navigation