|
Hallo World
Author: Giovanni Caire (TILab)
Date: 6/01/2001
This examples shows a minimal agent printing "Hallo World!" and then terminating.
Assuming all jade classes are in the classpath, you can launch this example with the following command:
java jade.Boot -gui Peter:examples.hallo.HalloWorldAgent
The above command line starts the JADE runtime and launches an agent called "Peter" of type HalloWorldAgent. The -gui option (not strictly related to this example) starts the JADE management GUI by means of which you can shutdown the JADE runtime.
HalloWorldAgent | |
Description: | |
This agent just prints "Hallo World!" and then terminates. | |
Jade classes used: | |
Agent | |
Source | |
\src\examples\hallo\HalloWorldAgent.java |
JADE is a
trademark of TILAB (formerly CSELT).
JADE has been developed jointly by TILAB
(formerly CSELT) and the Computer
Engineering Group of the University
of Parma