Hello World

Author: Giovanni Caire (TILab)
Date: 6/01/2001

This example shows a minimal agent printing "Hello 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.hello.HelloWorldAgent 

The above command line starts the JADE runtime and launches an agent called "Peter" of type HelloWorldAgent. The -gui option (not strictly related to this example) starts the JADE management GUI by means of which you can shutdown the JADE runtime.

 

HelloWorldAgent
Description:
This agent just prints "Hello World! My name is <AgentName> and then terminates.
Jade classes used:
Agent
Source
\src\examples\hello\HelloWorldAgent.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