Abstract
Mobile code systems typically rely on the Java language, since it provides many of the necessary building blocks. Nevertheless, Microsoft recently released the .NET platform, which includes at its core a virtual machine supporting multi-language programming, and a new language called C#. The competition between .NET and Java is evident, and so are the analogies between these two technologies.
From the point of view of code mobility, a natural question to ask is then whether .NET supports mobile code, and how the mechanisms provided compare with those available in Java. This paper aims at providing a preliminary set of answers to this simple question.
The work we report about was not driven by the goal of providing a thorough comparison. Instead, it was driven by the practical need to port an existing toolkit for code mobility written in Java, μCode, to the .NET environment. This approach forced us to verify our mobile code design on a concrete example, rather than just think about the problem in abstract. The resulting software artifact constitutes, to the best of our knowledge, the first implementation of a mobile code system written for .NET. In the paper, we provide an overview of the .NET mechanisms supporting mobile code, show how they are exploited in our port, and discuss similarities and differences with the Java platform.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
T. Archer. Inside C#. Microsoft Press, 2001.
A. Fuggetta, G.P. Picco, and G. Vigna. Understanding Code Mobility. IEEE Transactions on Software Engineering, 24(5):342–361, May 1998.
R.S. Gray, G. Cybenko, D. Kotz, R.A. Peterson, and D. Rus. D’Agents: Applications and Performance of a Mobile-Agent System. Software: Practice and Experience, 2001. To appear.
T. Lindholm and F. Yellin. The Java Virtual Machine Specification. Addison-Wesley, 2nd edition, 1999.
G.P. Picco. μCode: A Lightweight and Flexible Mobile Code Toolkit. In Proc. of Mobile Agents: 2 nd Int. Workshop MA’98, LNCS 1477, pages 160–171. Springer, September 1998.
G.P. Picco. Mobile Agents: An Introduction. J. of Microprocessors and Microsystems, 25(2):65–74, April 2001.
ECMA TC39/TG2. Draft C# Language Specification. Technical report, ECMA, September 2001.
ECMA TC39/TG3. The CLI Architecture. Technical report, ECMA, October 2001.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2002 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Delamaro, M., Picco, G.P. (2002). Mobile Code in .NET: A Porting Experience. In: Suri, N. (eds) Mobile Agents. MA 2002. Lecture Notes in Computer Science, vol 2535. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36112-X_2
Download citation
DOI: https://doi.org/10.1007/3-540-36112-X_2
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-00085-3
Online ISBN: 978-3-540-36112-1
eBook Packages: Springer Book Archive