Download the MARS code v2.0
The MARS (Mobile Agent Reactive Spaces) release v2.0 available for downloding has been slightly tuned to work in conjunction with SOMA (Secure and Open Mobile Agent), a Mobile Agent System developed at the University of Bologna. This has also required a slight modification of the SOMA code. The original SOMA code is available at http://www-lia.deis.unibo.it/Software/MA.
The guidelines to install MARS with different agents systems (i.e. Aglets and Mole) will be available in the near future.
Download the MARS code:
Download the (slightly modified) SOMA code:
ATTENTION: MARS is an academic prototype and NOT an industrial product. We apologize for any bug and badly documented feature that you will discover. In these cases, comments and feedbacks are very welcome.
If you download the MARS and SOMA software, you should check to see that the complete file was downloaded:
676352 Dec 3 10:52 MARS.tar 152408 Dec 1 17:18 MARS.tar.gz
661504 Dec 3 10.52 SOMA.tar 174181 Dec 1 17.18 SOMA.tar.gz
More detailed instructions (also including further examples) are available here (also in Italian). For any problem, do not hesitate to contact Franco Zambonelli .
JDK 1.2 beta 2 or later Cryptix 3.03 or later (cryptographic provider)
Install MARS and SOMA
Uncompress MARS.tar and SOMA.tar in the desired directory (for instance in your HOME directory).
tar xf SOMA.tar tar xf MARS.tar
The following directories should be present:
$HOME/SOMA $HOME/MARS $HOME/Cryptix (if installed in the HOME directory)
Update the CLASSPATH environment variable:
export CLASSPATH=$HOME/MARS:$HOME/SOMA: $HOME/Cryptix/classes/SPT_0-0-9.jar: $HOME/Cryptix/classes/IJCE_0-0-11.jar: $HOME/Cryptix/classes/RSA_0-0-9.jar
Add the following lines to lib/security/java.security file in JDK 1.2:
policy.provider = AgentSystem.AgentPolicy security.provider.2 = cryptix.provider.Cryptix
First line sets the security policy provider. Second line adds Cryptix package to the security providers' list.
Start-up and examples
Start the Java Remot Method Invocation Registry:
Start the Execution Environments (also called SOMA Places) togheter with MARS graphic interfaces:
Start the Information Retrieval example:
The application consists in a Searcher agents that search for HTML pages including a specified keyword. You can get more information about this application downloading the paper "Reactive Tuple Spaces for Mobile Agent Coordination" available at: http://sirio.dsi.unimo.it/MOON/papers/index.html#Paper3 and reading the section "The application testbed".
Start the Electronic Commerce example:
The script files are in $HOME/MARS/ directory.