Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 858 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 858 Bytes

BioAgent

Bio Agent is used to extract information from multiple service providers. It is based on Java Agent DEvelopment framework (JADE). The following code is used to create an agent to print "Hello World!" and prints its name.

import jade.core.Agent;

  public class HelloAgent extends Agent 
  { 
      protected void setup() 
      { 
          System.out.println("Hello World!");
          System.out.println("My name is "+ getLocalName()); 
      }
  }

To comile and run above agent, use the following commands

javac HelloAgent.java 
java jade.Boot BioAgent:HelloAgent

For further reading visit my blog, Inter-Platform Agent Mobility with JADE and JIPMS ,briefly explains how to make an agent mobile.