Skip to main content

Translating Strong Mobility into Weak Mobility

  • Conference paper
  • First Online:
Mobile Agents (MA 2001)

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

Included in the following conference series:

Abstract

Mobile agents are software objects that can be transmitted over the net together with data and code, or can autonomously migrate to a remote computer and execute automatically on arrival. However many frameworks and languages for mobile agents only provide weak mobility: agents do not resume their execution from the instruction following the migration action, instead they are always restarted from a given point. In this paper we present a purely syntactic translation process for transforming programs that use strong mobility into programs that rely only on weak mobility, while preserving the original semantics.This transformation applies to programs written in a procedural language and can be adapted to other languages, like Java, that provide means to send data and code, but not the execution state.It has actually been exploited for implementing our language for mobile agents X-Klaim, that has linguistic constructs for strong mobility.

This work has been partly supported by MURST Projects SALADIN and TOSCA.

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

Access this chapter

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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. K. Arnold, J. Gosling, and D. Holmes. The Java Programming Language.Addison-Wesley, 3rd edition, 2000.

    Google Scholar 

  2. L. Bettini. Progetto e Realizzazione di un Linguaggio di Programmazione per Codice Mobile. Master’s thesis, Dip.di Sistemi e Informatica, Univ.di Firenze, April 1998.

    Google Scholar 

  3. L. Bettini, R. De Nicola, G. Ferrari, and R. Pugliese. Interactive Mobile Agents in X-Klaim. In P. Ciancarini and R. Tolksdorf, editors, Proc. of the 7th Int. IEEE Workshops on Enabling Technologies: Infrastructure for Collaborative Enterprises (WETICE), pages 110–115, Stanford, 1998.IEEE Computer Society Press.

    Google Scholar 

  4. L. Bettini, R.D. Nicola, G. Ferrari, and R. Pugliese. Mobile Applications in X-Klaim. In A. Corradi, A. Omicini, and A. Poggi, editors, Proc. of WOA 2000, 2000.

    Google Scholar 

  5. S. Bouchenak and D. Hagimont. Pickling Threads State in the Java System. In Proc. of the Technology of Object-Oriented Languages and Systems (TOOLS), 2000.

    Google Scholar 

  6. L. Cardelli. A Language with Distributed Scope. Computing Systems, 8(1):27–59, 1995.

    Google Scholar 

  7. T. Coninx, E. Truyen, B. Vanhaute, Y. Berbers, W. Joosen, and P. Verbaeten. On the use of Threads in Mobile Object Systems.In Proc. of 6th ECOOP, 2000.

    Google Scholar 

  8. G. Cugola, C. Ghezzi, G. Picco, and G. Vigna. Analyzing Mobile Code Languages. In Vitek and Tschudin [28].

    Google Scholar 

  9. F. Douglis and J. Ousterhout. Transparent Process Migration: Design Alternatives and the Sprite Implementation. Software-Practice and Experience, 21(8):757–785, Aug.1991.

    Article  Google Scholar 

  10. S. Fünfrocken. Transparent Migration of Java-Based Mobile Agents.In Rothermel and Hohl [21], pages 26–37.

    Google Scholar 

  11. R.S. Gray. Agent Tcl: A flexible and secure mobile-agent system. Technical Report PCS-TR98-327, Dartmouth College, Computer Science, Hanover, NH, Jan.1998.

    Google Scholar 

  12. C. Harrison, D. Chess, and A. Kershenbaum. Mobile agents: Are they a good idea? Research Report 19887, IBM Research Division, 1994.

    Google Scholar 

  13. M. Hohlfeld and B. Yee. How to Migrate Agents. available at http://www.cs.ucsd.edu/?bsy, 1998.

  14. D. Lange and M. Oshima. Programming and Deploying Java Mobile Agents with Aglets.Addison-Wesley, 1998.

    Google Scholar 

  15. D. Lange and M. Oshima. Seven good reasons for mobile agents. Communications of the ACM, 42(3):88–89, March 1999.

    Article  Google Scholar 

  16. Microsoft. Microsoft C# Language Specifications.Microsoft Press, 2001.

    Google Scholar 

  17. M. Mira da Silva. Mobility and Persistence. In Vitek and Tschudin [28], pages 157–176.

    Google Scholar 

  18. H. Peine and T. Stolpmann. The Architecture of the Ara Platform for Mobile Agents. In K. Rothermel and R. Popescu-Zeletin, editors, Proc. of the 1st International Workshopon Mobile Agents (MA’ 97), number 1219 in LNCS, pages 50–61. Springer-Verlag, 1997.

    Google Scholar 

  19. M. Ranganathan, A. Acharya, S. Sharma, and J. Saltz. Network-aware Mobile Programs. In Proc. of the USENIX Annual Technical Conf., pages 91–103.USENIX, 1997.

    Google Scholar 

  20. K. Rothermel and F. Hohl, editors. Proc. of the 2nd Int. Workshopon Mobile Agents, number 1477 in LNCS.Springer-V erlag, 1998.

    Google Scholar 

  21. T. Sekiguchi, H. Masuhara, and A. Yonezawa. A Simple Extension of Java Language for Controllable Transparent Migration and its Portable Implementation.In P. Ciancarini and A. Wolf, editors, Proc. 3rd Int. Conf. on Coordination Models and Languages, number 1594 in LNCS, pages 211–226.Springer-Verlag, 1999.

    Google Scholar 

  22. J. Smith. A Survey of Process Migration Mechanisms. Operating Systems Review, 22(3):28–40, 1988.

    Article  Google Scholar 

  23. M. Straßer, J. Baumann, and F. Hohl. Mole-A Java Based Mobile Agent System. In Proc. of the 2nd ECOOP Workshopon Mobile Object Systems, 1996.

    Google Scholar 

  24. T. Thorn. Programming Languages for Mobile Code.Technical Report 1083, University of Rennes IRISA, March 1997.also in ACM Computing Surveys, September 1997.

    Google Scholar 

  25. E. Truyen, B. Robben, B. Vanhaute, T. Coninx, W. Joosen, and P. Verbaeten. Portable Support for Transparent Thread Migration in Java.In Proc. of Int. Symposium on Agent Systems and Applications/Mobile Agents (ASA/MA’2000), 2000.

    Google Scholar 

  26. E. Tuosto. An Ada95 Implementation of a Network Coordination Language with Code Mobility. In M. Harbour and J. de la Puente, editors, Proc. of Int. Conference on Reliable Software Technologies-Ada-Europe’ 99, number 1622 in LNCS, pages 199–210.Springer, 1999.

    Chapter  Google Scholar 

  27. J. Vitek and C. Tschudin, editors. Mobile Object Systems-Towards the Programmable Internet, number 1222 in LNCS.Springer, 1997.

    Google Scholar 

  28. B. Walker, G. Popek, R. English, C. Kline, and G. Thiel. The LOCUS distributed operating systems. In Proceedings of the 9th ACM Symposium on Operating Systems Principles (SOSP), volume 17, pages 49–70, 1983.

    Article  Google Scholar 

  29. J.E. White. Telescript Technology: The Foundation for the Electronic Marketplace. White paper, General Magic, Inc., Mountain View, CA, 1994.

    Google Scholar 

  30. J.E. White. Mobile Agents. In J. Bradshaw, editor, Software Agents.AAAI Press and MIT Press, 1996.

    Google Scholar 

  31. C. Wicke, L. Bic, M. Dillencourt, and M. Fukuda. Automatic State Capture of Self-Migrating Computations in Messengers.In Rothermel and Hohl [21], pages 68–79.

    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

Bettini, L., De Nicola, R. (2001). Translating Strong Mobility into Weak Mobility. 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_13

Download citation

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

  • 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