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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
References
Fuenfrocken, S.: Transparent Migration of Java-Based Mobile Agents. In Proceedings of MA’98, Springer, Stuttgart, Germany (1998) 26–37.
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.
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.
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.
Bouchenak, S.: Making Java Applications Mobile or Persistent, In Proceedings of COOTS’01, San Antonio, Texas, USA (2001).
Milojicic, D., Douglis F., Wheeler, R.: Mobility: Processes, Computers and Agents, Addison Wesley, Massachusetts, USA (1999).
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).
Damm, M.: Byte Code Engineering, In Proceedings of JIT’99, Duesseldorf, Germany (1999).
Damm, M.: The Byte Code Engineering Library, http://bcel.sourceforge.net/, visited 12.05.01.
Sun Microsystems Inc: Java Object Serialization Specification. ftp://ftp.java.sun.com/docs/j2se1.3/serial-spec.pdf, visited 31.08.00
Sun Microsystems Inc: The Java Virtual Machine. http://java.sun.com/docs/books/vmspec/index.html, visited 12.05.01.
Sun Microsystems Inc: Java HotSpot Technology. http://java.sun.com/products/hotspot/index.html, visited 12.05.01.
Sun Microsystems Inc: Java Platform Debugger Architecture. http://java.sun.com/j2se/1.3/docs/guide/jpda/, visited 12.05.01.
Sun Microsystems Inc: Java2 Platform Standard Edition V1.3 Homepage. http://www.javasoft.com/j2se/1.3/, visited 12.05.01
Sun Microsystems Inc: Jini Technology. http://java.sun.com/jini/, visited 12.05.01.
Kargl F., Illmann, T., Weber, M.: CIA-Collaboration and Coordination Infrastructure for Personal Agents, In Proceedings of DAIIS’99, Helsinki, Finnland (1999).
Illmann, T., Kargl, F., Krueger, T., Weber, M.: Migration in Java: problems, classifications and solutions, In Proceedings of MAMA’2000, Wollongong, Australia (2000).
Illmann, T., Kargl, F., Weber, M.: An Agent Cluster as integrative environment for personal agents, In Proceedings of ICIIS’1999, Washington, USA (1999).
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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