ArticleslgStudy

computer science

Java Agent Development Framework

Java Agent Development Framework is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Java Agent Development Framework rather than just read about it. In short: Java Agent Development Framework, or JADE, is a software framework for the development of software agents, implemented in Java. JADE system supports coordination between several agents FIPA and provides a standard implementation of the communication language FIPA-ACL, which facilitates the communication between agents and allows the services detection of the system.

Key takeaways

  • Java Agent Development Framework belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Java Agent Development Framework to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Java Agent Development Framework from memory before moving on to harder problems.

Reference excerpt

Java Agent Development Framework, or JADE, is a software framework for the development of software agents, implemented in Java. JADE system supports coordination between several agents FIPA and provides a standard implementation of the communication language FIPA-ACL, which facilitates the communication between agents and allows the services detection of the system. JADE was originally developed by Telecom Italia and is distributed as free software.

Resume JADE is a middleware which facilitates the development of multi-agent systems under the standard FIPA for which purpose it creates multiple containers for agents, each of them can run on one or more systems. It's understood that a set of containers constitutes a platform. JADE provides:

An environment where JADE agents are executed Class libraries to create agents using heritage and redefinition of behaviors A graphical toolkit to monitoring and managing the platform of intelligent agents

History JADE was initially developed by Telecom Italia Lab. This sector is the R & D branch of Telecom Italia Group which is responsible for promoting technological innovation. Telecom Italia conceived and promoted JADE by basing it in 2000. The latest available dates from December 2022 (version 4.6.0). The first version of JADE distributed as free software is available from February 2000 (versión 1.3). In March 2003 Motorola and Telecom Italia created the JADE Governing Board with the objective of promoting the development and adoption of JADE in the mobile telecommunications industry as middleware based. The JADE Governing Board accepts any company and/or organization interested in the commercial use and exploitation of JADE to commit to its development and promotion. In 2021, the team that successfully developed JADE announced that they could not continue to work on it anymore. A team of researchers forked it is now pursuing the platform development.

Platform JADE is a distributed agents platform, which has a container for each host where you are running the agents. Additionally, the platform has various debugging tools, mobility of code and content agents, the possibility of parallel execution of the behavior of agents, as well as support for the definition of languages and ontologies. Each platform must have a parent container that has two special agents called AMS and DF.

The DF (Directory Facilitator) provides a directory which announces which agents are available on the platform. The AMS (Agent Management System) controls the platform. It is the only one who can create and destroy other agents, destroy containers and stop the platform.

DF Agent To access the DF agent the class "jade.domain.DFService" and its static methods are used: register, deregister, modify and Search.

AMS agent To access the AMS Service an agent is created which automatically runs the register method of the AMS by default before executing the method setup from the new agent. When an agent is destroyed it executes its takeDown() method by default and automatically calls the deregister method of the AMS.

Agent class The Agent class is a superclass which allows the users to create JADE agents. To create an agent one needs to inherit directly from Agent. Normally, each agent recorder several services which they should be implemented by one or more behaviors. This class provides methods to perform the basic tasks of the agents as:

Pass messages by objects ACLMessage, with pattern matching Support the life cycle of an agent Plan and execute multiple activities at the same time

JADE agent The cycle of life of a JADE agent follows the cycle proposed by FIPA. These agents go through different states defined as:

Initiated: The agent has been created but has not registered yet the AMS. Active: The agent has been registered and has a name. In this state, it can communicate with other agents. Suspended: The agent is stopped because its thread is suspended. Waiting: The agent is blocked waiting for an event. Deleted: The agent has finished and his thread ended his execute and there is not any more in the AMS. Transit: The agent is moving to a new location.

Agents' behaviour The behavior defines the actions under a given event. This behavior of the agent is defined in the method setup using the method addBehaviour. The different behaviors that the agent will adopt are defined from the abstract class Behaviour. The class Behaviour contains the abstract methods:

action (): Is executed when the action takes place. done (): Is executed at the end of the performance. A user can override the methods onStart () and OnEnd () property. Additionally, there are other methods such as block () and restart () used for modifying the agent's behavior. When an agent is locked it can be unlocked in different ways. Otherwise the user can override the methods onStart() and onEnd() the agent possess.

Unlock an agent Receiving a message. When the timeout happens associated with block (). Calling restart.

ACL messages Message passing ACL (Agent Communication Language) is the base of communication between agents. Sending messages is done by the method send of the class Agent. In this method, you have to pass an object of type ACLMessage that contains the recipient information, language, coding and content of the message. These messages are sent asynchronously, while messages are received they will be stored in a message queue. There are two types of receiving ACL messages, blocking or non-blocking. For this provide methods blockingReceive () and receive () respectively. In both methods, you can make filtering messages to be retrieved from the queue by setting different templates.

Extensions JADE has an extension denominated WADE (Workflows and Agents Development Environment) which is a system of workflow which allows create process by a graphic editor named WOLF.

See also

Multi-agent system Autonomous agent Intelligent agent Cognitive architecture Agent Communications Language

References

Jade news archive Wade User Guide Developing Multi-Agent Systems with JADE, Volume 7 Wiley Series in Agent Technology, Fabio Luigi Bellifemine, Giovanni Caire, Dominic Greenwood ISBN 9780470058404 Security and Trust in Agent-Oriented Middleware, Sixth International, OTM 2003 Workshops. OTM 2003. Lecture Notes in Computer Science, vol 2889. Springer, Berlin, A Poggi, M Tomaiuolo, G Vitaglione. ISBN 978-3-540-20494-7

External links Official website Official website of WADE Developing Multi-Agent Systems with JADE

Worked examples

Example 1 — a first encounter with Java Agent Development Framework

Start with the simplest possible case. Write down what Java Agent Development Framework claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Java Agent Development Framework before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Java Agent Development Framework ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Java Agent Development Framework

In research
Java Agent Development Framework appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Java Agent Development Framework in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Java Agent Development Framework is common in secondary-school and first-year university syllabi. It links to neighbouring topics Agent-based software, Java (software platform), Software using the GNU Lesser General Public License, so understanding it makes those chapters shorter.
In everyday life
Look for Java Agent Development Framework outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Java Agent Development Framework” →

How to study Java Agent Development Framework in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Java Agent Development Framework means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Java Agent Development Framework out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Java Agent Development Framework in simple terms?

Java Agent Development Framework, or JADE, is a software framework for the development of software agents, implemented in Java. JADE system supports coordination between several agents FIPA and provides a standard implementation of the communication language FIPA-ACL, which facilitates the communic…

Why does Java Agent Development Framework matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Java Agent Development Framework?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Java Agent Development Framework.

Tags

  • Agent-based software
  • Java (software platform)
  • Software using the GNU Lesser General Public License

Keep exploring