Transparent Migration of Mobile Agents Using the Java Platform Debugger Architecture

  • Torsten Illmann
  • Tilman Krueger
  • Frank Kargl
  • Michael Weber
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 2240)


In this paper we describe a transparent migration of mobile agents in Java using the Java Platform Debugger Architecture (JPDA). The JPDA allows debuggers to access and modify runtime information of running Java applications. In the context of mobile agents, the JPDA can be used to capture and restore the state of a running program. Since JPDA does not support to set the program counter, we introduce two different solutions to solve this. We either slightly modify the virtual machine or instrument some byte code instructions. Finally we measure the produced overhead in code and time compared to normal execution and other approaches addressing this problem. Altogether, we show that developing Java-based mobile agents with a transparent migration can be performed nearly without changing the source code, the byte code or the interpreter.


Virtual Machine Mobile Agent Program Counter Event Handler Code Transformation 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Fuenfrocken, S.: Transparent Migration of Java-Based Mobile Agents. In Proceedings of MA’98, Springer, Stuttgart, Germany (1998) 26–37.Google Scholar
  2. 2.
    Suri, N., Bradshaw, J., Breedy, M., Groth, P., Hill, A. G., Jeffers, R.: Strong Mobility and Fine-Grained Resource Control in NOMADS, In Proceedings of ASAMA’2000, Springer, Zuerich, Germany (2000) 2–15.Google Scholar
  3. 3.
    Sakamoto, T., Sekiguchi, T., Yonezawa, A.: Byte Code Transformation for Portable Thread Migration in Java, In Proceedings of ASAMA’2000, Springer, Zuerich, Germany (2000) 16–28.Google Scholar
  4. 4.
    Truyen, E., Robben, B., Vanhaute, B., Coninx, T., Joosen, W., Verbaeten, P.: Portable Support for Transparent Thread Migration in Java, In Proceedings of ASAMA’2000, Springer, Zuerich, Germany (2000) 29–43.Google Scholar
  5. 5.
    Bouchenak, S.: Making Java Applications Mobile or Persistent, In Proceedings of COOTS’01, San Antonio, Texas, USA (2001).Google Scholar
  6. 6.
    Milojicic, D., Douglis F., Wheeler, R.: Mobility: Processes, Computers and Agents, Addison Wesley, Massachusetts, USA (1999).Google Scholar
  7. 7.
    Douglis F., Marsh, B.: The Workstation as a Waystation: Integrating Mobility into Computing Environment, In Proceedings of Third Workshop on Workstation Operating System (IEEE), Key Biscane, Florida, USA (1992).Google Scholar
  8. 8.
    Damm, M.: Byte Code Engineering, In Proceedings of JIT’99, Duesseldorf, Germany (1999).Google Scholar
  9. 9.
    Damm, M.: The Byte Code Engineering Library,, visited 12.05.01.
  10. 10.
    Sun Microsystems Inc: Java Object Serialization Specification., visited 31.08.00
  11. 11.
    Sun Microsystems Inc: The Java Virtual Machine., visited 12.05.01.
  12. 12.
    Sun Microsystems Inc: Java HotSpot Technology., visited 12.05.01.
  13. 13.
    Sun Microsystems Inc: Java Platform Debugger Architecture., visited 12.05.01.
  14. 14.
    Sun Microsystems Inc: Java2 Platform Standard Edition V1.3 Homepage., visited 12.05.01
  15. 15.
    Sun Microsystems Inc: Jini Technology., visited 12.05.01.
  16. 16.
    Kargl F., Illmann, T., Weber, M.: CIA-Collaboration and Coordination Infrastructure for Personal Agents, In Proceedings of DAIIS’99, Helsinki, Finnland (1999).Google Scholar
  17. 17.
    Illmann, T., Kargl, F., Krueger, T., Weber, M.: Migration in Java: problems, classifications and solutions, In Proceedings of MAMA’2000, Wollongong, Australia (2000).Google Scholar
  18. 18.
    Illmann, T., Kargl, F., Weber, M.: An Agent Cluster as integrative environment for personal agents, In Proceedings of ICIIS’1999, Washington, USA (1999).Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2001

Authors and Affiliations

  • Torsten Illmann
    • 1
  • Tilman Krueger
    • 1
  • Frank Kargl
    • 1
  • Michael Weber
    • 1
  1. 1.Dep. of Media Computer ScienceUniversity of UlmUlmGermany

Personalised recommendations