Skip to main content

Transparent Migration of Mobile Agents Using the Java Platform Debugger Architecture

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2240))

Abstract

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.

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

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Fuenfrocken, S.: Transparent Migration of Java-Based Mobile Agents. In Proceedings of MA’98, Springer, Stuttgart, Germany (1998) 26–37.

    Google Scholar 

  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. 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. 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. Bouchenak, S.: Making Java Applications Mobile or Persistent, In Proceedings of COOTS’01, San Antonio, Texas, USA (2001).

    Google Scholar 

  6. Milojicic, D., Douglis F., Wheeler, R.: Mobility: Processes, Computers and Agents, Addison Wesley, Massachusetts, USA (1999).

    Google Scholar 

  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. Damm, M.: Byte Code Engineering, In Proceedings of JIT’99, Duesseldorf, Germany (1999).

    Google Scholar 

  9. Damm, M.: The Byte Code Engineering Library, http://bcel.sourceforge.net/, visited 12.05.01.

  10. Sun Microsystems Inc: Java Object Serialization Specification. ftp://ftp.java.sun.com/docs/j2se1.3/serial-spec.pdf, visited 31.08.00

  11. Sun Microsystems Inc: The Java Virtual Machine. http://java.sun.com/docs/books/vmspec/index.html, visited 12.05.01.

  12. Sun Microsystems Inc: Java HotSpot Technology. http://java.sun.com/products/hotspot/index.html, visited 12.05.01.

  13. Sun Microsystems Inc: Java Platform Debugger Architecture. http://java.sun.com/j2se/1.3/docs/guide/jpda/, visited 12.05.01.

  14. Sun Microsystems Inc: Java2 Platform Standard Edition V1.3 Homepage. http://www.javasoft.com/j2se/1.3/, visited 12.05.01

  15. Sun Microsystems Inc: Jini Technology. http://java.sun.com/jini/, visited 12.05.01.

  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. 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. 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 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Illmann, T., Krueger, T., Kargl, F., Weber, M. (2001). Transparent Migration of Mobile Agents Using the Java Platform Debugger Architecture. In: Picco, G.P. (eds) Mobile Agents. MA 2001. Lecture Notes in Computer Science, vol 2240. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45647-3_14

Download citation

  • DOI: https://doi.org/10.1007/3-540-45647-3_14

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-42952-4

  • Online ISBN: 978-3-540-45647-6

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics