Tatsurou Sekiguchi's Web Site [English] [“ú–{Œê]

JavaGo Tutorial

JavaGo execution environment

The primary execution environment for programs of JavaGo is called a migration server. A mobile program migrates between two migration servers. Only one migration server exists in a Java virtual machine at a time. JavaGo provides a tool, javago.Run, that transfers a user program to a migration server. The user usually initiates his/her program by using the tool.

The execution of a JavaGO program is initiated by javago.Run, but javago.Run is NOT a migration server. This implies that a program can migrate from javago.Run to a migration server while a program cannot migrate in the opposite direction.

Writing and Executing Mobile Programs

We illustrate how to write and execute mobile programs.

Hello, World! How to initiate a program on a migration server.
Visit How to start and control migration. How to use JavaGo compiler (jgoc).
Fibonacci How to describe migration for recursive methods.
Contact How to make contact with a stranger.
The tower of Hanoi Migration with GUI. How to recover from migration failure.

Caution

The migration servers used in the tutorial lacks most of security checks for simplicity. You should terminate migration servers soon after you finish your experiments.

Copyright (C) Tatsurou Sekiguchi. All rights reserved.