SlideShare une entreprise Scribd logo
1  sur  82
JADE Java Agent Development Framework Jelena Jovanovic Email:  [email_address]
JADE basics ,[object Object],[object Object],[object Object],[object Object],06/04/09
JADE basics ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
JADE basics 06/04/09 CONTAINER a running instance of the JADE runtime environment PLATFORM a set of active containers The main container of the platform; all other containers register with it as soon as they start.
The FIPA compliant agent platform ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
The FIPA compliant agent platform ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
The FIPA compliant agent platform ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Creating an agent in JADE ,[object Object],[object Object],[object Object],[object Object],06/04/09
Agent identifier - AID ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
HelloWorldAgent 06/04/09 import jade.core.Agent; public class HelloWorldAgent extends Agent { protected void setup() { System.out.println(“Hello World!”);  System.out.println(“My name is ” + getAID().getName() ); } }
Running an agent ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Running an agent ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Running an agent ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
HelloWorldAgent ,[object Object],[object Object],[object Object],06/04/09
Agent life cycle ,[object Object],06/04/09
Agent life cycle ,[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Agent life cycle ,[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Starting an agent ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Starting an agent ,[object Object],[object Object],[object Object],[object Object],06/04/09
The notion of behaviour ,[object Object],[object Object],[object Object],[object Object],06/04/09
The notion of behaviour ,[object Object],[object Object],[object Object],[object Object],06/04/09
Implementing a behaviour ,[object Object],[object Object],[object Object],[object Object],06/04/09
Implementing a behaviour ,[object Object],[object Object],[object Object],[object Object],06/04/09
The agent execution model 06/04/09
A more realistic HelloWorld Agent ,[object Object],[object Object],[object Object],[object Object],06/04/09
A more realistic HelloWorld Agent 06/04/09 import jade.core.Agent;  import jade.core.behaviours.*;  public class  HelloWorldAgent1  extends   Agent  {  protected void  setup() {  addBehaviour ( new  B1 ( this ) ); }  }  class   B1   extends   SimpleBehaviour  {  public  B1(Agent a) {  super (a); }  public void   action () {  System.out.println( "Hello World! My name is " +    myAgent .getAID().getName() );  finished = true; }  private boolean  finished = false;  public boolean   done () { return finished; }  }
A more realistic HelloWorld Agent ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
A more realistic HelloWorld Agent ,[object Object],[object Object],[object Object],[object Object],06/04/09
Back to behaviours ,[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Behaviours ,[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Behaviours ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Behaviours ,[object Object],[object Object],[object Object],[object Object],06/04/09
06/04/09
Primitive Behaviours ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Primitive Behaviours ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Composite Behaviours ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Agent communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Agent communication 06/04/09
Agent communication ,[object Object],[object Object],[object Object],06/04/09
Agent communication ,[object Object],[object Object],[object Object],[object Object],06/04/09 ACLMessage msg = new ACLMessage( ACLMessage.INFORM ); msg.setContent("I sell seashells at $10/kg" );
Agent communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Agent communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Agent communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Agent communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Inter-agent communication ,[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Agent communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Agent communication 06/04/09 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Example: a simple receiver agent
Agent communication ,[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Agent communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09 Note: in this example, there isn't much advantage of using createReply, the real benefits become obvious in applications when other attributes like conversationID or ontology have to correspond to the original message.
Agent communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Agent communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Agent communication ,[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Agent communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Agent communication ,[object Object],[object Object],[object Object],06/04/09 Part of the BuyerAgent implementation: … ACLMessage msg = new  ACLMessage(ACLMessage.INFORM); msg.setContent( "bla...bla...bla" ); msg.addReceiver(  new AID( "store", AID.ISLOCALNAME)  ); send(msg); …
Agent communication ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09 the searching agent A description of the agent(s) we are looking for
Agent communication ,[object Object],06/04/09 ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],All currently running agents found by using the code snippet from the previous slide
Directory Facilitator (DF) ,[object Object],[object Object],[object Object],[object Object],06/04/09
Directory Facilitator (DF) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
DFAgentDescription Class ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Registering with DF ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Deregistering ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Searching the DF ,[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Searching the DF ,[object Object],06/04/09 DFAgentDescription dfd = new DFAgentDescription(); ServiceDescription sd = new ServiceDescription(); sd.setType( &quot;buyer&quot; ); dfd.addServices(sd); DFAgentDescription[] result =  DFService.search(this,dfd); System.out.println(“Buyer agets:”); for (int i = 0; i < result.length; ++i) { System.out.println(&quot; &quot; + result[i].getName() ); }
Searching the DF ,[object Object],[object Object],[object Object],06/04/09 … SearchConstraints all = new SearchConstraints(); all.setMaxResults(new Long(-1)); DFAgentDescription[] result =  DFService.search(this, dfd, all);
DF Subscription Services ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Mobile Agents ,[object Object],[object Object],[object Object],06/04/09
Mobile Agents ,[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Finding destination ,[object Object],[object Object],[object Object],[object Object],06/04/09 Action action = new Action(); action.setActor(a.getAMS()); action.setAction(new QueryPlatformLocationsAction()); sendRequest(action);
Finding destination ,[object Object],06/04/09 Suspend all activities until the message arrives
Moving an agent ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Moving an agent 06/04/09 A utility method containing a call to the Agent.getContentManager().fillContent(…)
Moving an agent ,[object Object],[object Object],[object Object],06/04/09 ,[object Object],[object Object],[object Object],[object Object],[object Object]
Moving an agent ,[object Object],[object Object],06/04/09 getContentManager().registerLanguage(new SLCodec()); getContentManager().registerOntology(MobilityOntology. getInstance());
Cloning an agent ,[object Object],[object Object],06/04/09 Location dest = … AgentID aid = … MobileAgentDescription mad = new MobileAgentDescription();  mad.setName(aid);  mad.setDestination(dest);  String newName = &quot;Clone-&quot; + agentName;  CloneAction ca = new CloneAction(); ca.setNewName(newName); ca.setMobileAgentDescription(mad);  sendRequest(new Action(aid, ca));
Cloning an agent ,[object Object],[object Object],[object Object],06/04/09 ,[object Object],[object Object],[object Object],[object Object],[object Object]
Agents with GUI ,[object Object],[object Object],[object Object],[object Object],06/04/09
Agents with GUI ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
Agents with GUI ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
JADE’s suite of graphical tools ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
JADE’s suite of graphical tools ,[object Object],[object Object],[object Object],[object Object],06/04/09
Jade Resources at WWW ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],06/04/09
JADE Java Agent Development Framework Jelena Jovanovic Email:  [email_address]

Contenu connexe

Tendances

Introduction to complex networks
Introduction to complex networksIntroduction to complex networks
Introduction to complex networksVincent Traag
 
Kality CS Model_Exit_Exams_with_answer - Copy (2).doc
Kality CS Model_Exit_Exams_with_answer - Copy (2).docKality CS Model_Exit_Exams_with_answer - Copy (2).doc
Kality CS Model_Exit_Exams_with_answer - Copy (2).docAnimutGeremew3
 
UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)Nguyen Tuan
 
Multi-agent systems
Multi-agent systemsMulti-agent systems
Multi-agent systemsR A Akerkar
 
Quantum QIS (QGIS) Proje Menüsü
Quantum QIS (QGIS) Proje MenüsüQuantum QIS (QGIS) Proje Menüsü
Quantum QIS (QGIS) Proje MenüsüLevent Sabah
 
The Python ecosystem for data science - Landscape Overview
The Python ecosystem for data science - Landscape OverviewThe Python ecosystem for data science - Landscape Overview
The Python ecosystem for data science - Landscape OverviewDr. Ananth Krishnamoorthy
 
QGISの活用例を見てみよう
QGISの活用例を見てみようQGISの活用例を見てみよう
QGISの活用例を見てみようKazutaka ishizaki
 
Gradient Descent, Back Propagation, and Auto Differentiation - Advanced Spark...
Gradient Descent, Back Propagation, and Auto Differentiation - Advanced Spark...Gradient Descent, Back Propagation, and Auto Differentiation - Advanced Spark...
Gradient Descent, Back Propagation, and Auto Differentiation - Advanced Spark...Chris Fregly
 
Object and class relationships
Object and class relationshipsObject and class relationships
Object and class relationshipsPooja mittal
 
Component diagram
Component diagramComponent diagram
Component diagramAbdul Manan
 
Chapter 2 intelligent agents
Chapter 2 intelligent agentsChapter 2 intelligent agents
Chapter 2 intelligent agentsLukasJohnny
 
隠れたデータベースの遅延原因を特定し、そのレスポンスの改善手法紹介 @ dbtech showcase Tokyo 2019
隠れたデータベースの遅延原因を特定し、そのレスポンスの改善手法紹介 @ dbtech showcase Tokyo 2019隠れたデータベースの遅延原因を特定し、そのレスポンスの改善手法紹介 @ dbtech showcase Tokyo 2019
隠れたデータベースの遅延原因を特定し、そのレスポンスの改善手法紹介 @ dbtech showcase Tokyo 2019株式会社クライム
 
مقدمة عن الفيجوال بيسك 9-2019
مقدمة عن الفيجوال بيسك  9-2019مقدمة عن الفيجوال بيسك  9-2019
مقدمة عن الفيجوال بيسك 9-2019Amr Rashed
 
AI-State Space Representation.pptx
AI-State Space Representation.pptxAI-State Space Representation.pptx
AI-State Space Representation.pptxRatnakar Mikkili
 
Quantum QIS (QGIS) Katman Menüsü
Quantum QIS (QGIS) Katman MenüsüQuantum QIS (QGIS) Katman Menüsü
Quantum QIS (QGIS) Katman MenüsüLevent Sabah
 

Tendances (20)

Introduction to complex networks
Introduction to complex networksIntroduction to complex networks
Introduction to complex networks
 
Kality CS Model_Exit_Exams_with_answer - Copy (2).doc
Kality CS Model_Exit_Exams_with_answer - Copy (2).docKality CS Model_Exit_Exams_with_answer - Copy (2).doc
Kality CS Model_Exit_Exams_with_answer - Copy (2).doc
 
Intelligent agents
Intelligent agentsIntelligent agents
Intelligent agents
 
UML (Unified Modeling Language)
UML (Unified Modeling Language)UML (Unified Modeling Language)
UML (Unified Modeling Language)
 
Multi-agent systems
Multi-agent systemsMulti-agent systems
Multi-agent systems
 
Quantum QIS (QGIS) Proje Menüsü
Quantum QIS (QGIS) Proje MenüsüQuantum QIS (QGIS) Proje Menüsü
Quantum QIS (QGIS) Proje Menüsü
 
L1 fuzzy sets & basic operations
L1 fuzzy sets & basic operationsL1 fuzzy sets & basic operations
L1 fuzzy sets & basic operations
 
The Python ecosystem for data science - Landscape Overview
The Python ecosystem for data science - Landscape OverviewThe Python ecosystem for data science - Landscape Overview
The Python ecosystem for data science - Landscape Overview
 
Gof design patterns
Gof design patternsGof design patterns
Gof design patterns
 
QGISの活用例を見てみよう
QGISの活用例を見てみようQGISの活用例を見てみよう
QGISの活用例を見てみよう
 
Gradient Descent, Back Propagation, and Auto Differentiation - Advanced Spark...
Gradient Descent, Back Propagation, and Auto Differentiation - Advanced Spark...Gradient Descent, Back Propagation, and Auto Differentiation - Advanced Spark...
Gradient Descent, Back Propagation, and Auto Differentiation - Advanced Spark...
 
Object and class relationships
Object and class relationshipsObject and class relationships
Object and class relationships
 
Component diagram
Component diagramComponent diagram
Component diagram
 
Builder pattern
Builder patternBuilder pattern
Builder pattern
 
Chapter 2 intelligent agents
Chapter 2 intelligent agentsChapter 2 intelligent agents
Chapter 2 intelligent agents
 
隠れたデータベースの遅延原因を特定し、そのレスポンスの改善手法紹介 @ dbtech showcase Tokyo 2019
隠れたデータベースの遅延原因を特定し、そのレスポンスの改善手法紹介 @ dbtech showcase Tokyo 2019隠れたデータベースの遅延原因を特定し、そのレスポンスの改善手法紹介 @ dbtech showcase Tokyo 2019
隠れたデータベースの遅延原因を特定し、そのレスポンスの改善手法紹介 @ dbtech showcase Tokyo 2019
 
Use Case Modeling
Use Case ModelingUse Case Modeling
Use Case Modeling
 
مقدمة عن الفيجوال بيسك 9-2019
مقدمة عن الفيجوال بيسك  9-2019مقدمة عن الفيجوال بيسك  9-2019
مقدمة عن الفيجوال بيسك 9-2019
 
AI-State Space Representation.pptx
AI-State Space Representation.pptxAI-State Space Representation.pptx
AI-State Space Representation.pptx
 
Quantum QIS (QGIS) Katman Menüsü
Quantum QIS (QGIS) Katman MenüsüQuantum QIS (QGIS) Katman Menüsü
Quantum QIS (QGIS) Katman Menüsü
 

En vedette

Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual FrameworkEvent-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual FrameworkAndrea Omicini
 
Blending Event-Based and Multi-Agent Systems around Coordination Abstractions
Blending Event-Based and Multi-Agent Systems around Coordination AbstractionsBlending Event-Based and Multi-Agent Systems around Coordination Abstractions
Blending Event-Based and Multi-Agent Systems around Coordination AbstractionsAndrea Omicini
 
FIPA's mentoring program brochure
FIPA's mentoring program brochureFIPA's mentoring program brochure
FIPA's mentoring program brochureTIVIA ry
 
My research proposal slides.
My research proposal slides.My research proposal slides.
My research proposal slides.Bu Sawoo
 
Cloud computing (Andrea Cavicchini)
Cloud computing (Andrea Cavicchini)Cloud computing (Andrea Cavicchini)
Cloud computing (Andrea Cavicchini)Andrea Cavicchini
 
Topic 4 -software architecture viewpoint-multi-agent systems-a software archi...
Topic 4 -software architecture viewpoint-multi-agent systems-a software archi...Topic 4 -software architecture viewpoint-multi-agent systems-a software archi...
Topic 4 -software architecture viewpoint-multi-agent systems-a software archi...farshad33
 
Introduction to Cloud Computing - ITS 2014 Edition
Introduction to Cloud Computing - ITS 2014 EditionIntroduction to Cloud Computing - ITS 2014 Edition
Introduction to Cloud Computing - ITS 2014 EditionMarco Parenzan
 
Matlab simulink introduction
Matlab simulink introductionMatlab simulink introduction
Matlab simulink introductionAmeen San
 
Systèmes multi agents concepts et mise en oeuvre avec le middleware jade
Systèmes multi agents concepts et mise en oeuvre avec le middleware jadeSystèmes multi agents concepts et mise en oeuvre avec le middleware jade
Systèmes multi agents concepts et mise en oeuvre avec le middleware jadeENSET, Université Hassan II Casablanca
 

En vedette (15)

Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual FrameworkEvent-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework
Event-Based vs. Multi-Agent Systems: Towards a Unified Conceptual Framework
 
Blending Event-Based and Multi-Agent Systems around Coordination Abstractions
Blending Event-Based and Multi-Agent Systems around Coordination AbstractionsBlending Event-Based and Multi-Agent Systems around Coordination Abstractions
Blending Event-Based and Multi-Agent Systems around Coordination Abstractions
 
Jade
JadeJade
Jade
 
FIPA's mentoring program brochure
FIPA's mentoring program brochureFIPA's mentoring program brochure
FIPA's mentoring program brochure
 
My research proposal slides.
My research proposal slides.My research proposal slides.
My research proposal slides.
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Cloud computing (Andrea Cavicchini)
Cloud computing (Andrea Cavicchini)Cloud computing (Andrea Cavicchini)
Cloud computing (Andrea Cavicchini)
 
Topic 4 -software architecture viewpoint-multi-agent systems-a software archi...
Topic 4 -software architecture viewpoint-multi-agent systems-a software archi...Topic 4 -software architecture viewpoint-multi-agent systems-a software archi...
Topic 4 -software architecture viewpoint-multi-agent systems-a software archi...
 
Introduction to Cloud Computing - ITS 2014 Edition
Introduction to Cloud Computing - ITS 2014 EditionIntroduction to Cloud Computing - ITS 2014 Edition
Introduction to Cloud Computing - ITS 2014 Edition
 
Java Framework for Multi-agent Systems
Java Framework for Multi-agent SystemsJava Framework for Multi-agent Systems
Java Framework for Multi-agent Systems
 
SNMP
SNMPSNMP
SNMP
 
Simulink
SimulinkSimulink
Simulink
 
Matlab simulink introduction
Matlab simulink introductionMatlab simulink introduction
Matlab simulink introduction
 
Agent-based System - Introduction
Agent-based System - IntroductionAgent-based System - Introduction
Agent-based System - Introduction
 
Systèmes multi agents concepts et mise en oeuvre avec le middleware jade
Systèmes multi agents concepts et mise en oeuvre avec le middleware jadeSystèmes multi agents concepts et mise en oeuvre avec le middleware jade
Systèmes multi agents concepts et mise en oeuvre avec le middleware jade
 

Similaire à Jade V

Android application model
Android application modelAndroid application model
Android application modelmagicshui
 
SMI - Introduction to Java
SMI - Introduction to JavaSMI - Introduction to Java
SMI - Introduction to JavaSMIJava
 
iOS app dev Training - Session1
iOS app dev Training - Session1iOS app dev Training - Session1
iOS app dev Training - Session1Hussain Behestee
 
Building a Web-bridge for JADE agents
Building a Web-bridge for JADE agentsBuilding a Web-bridge for JADE agents
Building a Web-bridge for JADE agentsinfopapers
 
AngularJS - dependency injection
AngularJS - dependency injectionAngularJS - dependency injection
AngularJS - dependency injectionAlexe Bogdan
 
20 most important java programming interview questions
20 most important java programming interview questions20 most important java programming interview questions
20 most important java programming interview questionsGradeup
 
OBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTES
OBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTESOBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTES
OBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTESsuthi
 
Selenium-Browser-Based-Automated-Testing-for-Grails-Apps
Selenium-Browser-Based-Automated-Testing-for-Grails-AppsSelenium-Browser-Based-Automated-Testing-for-Grails-Apps
Selenium-Browser-Based-Automated-Testing-for-Grails-Appschrisb206 chrisb206
 
RomaFramework Tutorial Basics
RomaFramework Tutorial BasicsRomaFramework Tutorial Basics
RomaFramework Tutorial BasicsLuca Garulli
 
React Basic and Advance || React Basic
React Basic and Advance   || React BasicReact Basic and Advance   || React Basic
React Basic and Advance || React Basicrafaqathussainc077
 
Fundamental Concepts of React JS for Beginners.pdf
Fundamental Concepts of React JS for Beginners.pdfFundamental Concepts of React JS for Beginners.pdf
Fundamental Concepts of React JS for Beginners.pdfStephieJohn
 
The Web on OSGi: Here's How
The Web on OSGi: Here's HowThe Web on OSGi: Here's How
The Web on OSGi: Here's Howmrdon
 
Adding a modern twist to legacy web applications
Adding a modern twist to legacy web applicationsAdding a modern twist to legacy web applications
Adding a modern twist to legacy web applicationsJeff Durta
 

Similaire à Jade V (20)

Spring boot
Spring bootSpring boot
Spring boot
 
Android application model
Android application modelAndroid application model
Android application model
 
SMI - Introduction to Java
SMI - Introduction to JavaSMI - Introduction to Java
SMI - Introduction to Java
 
iOS app dev Training - Session1
iOS app dev Training - Session1iOS app dev Training - Session1
iOS app dev Training - Session1
 
Building a Web-bridge for JADE agents
Building a Web-bridge for JADE agentsBuilding a Web-bridge for JADE agents
Building a Web-bridge for JADE agents
 
java tr.docx
java tr.docxjava tr.docx
java tr.docx
 
AngularJS - dependency injection
AngularJS - dependency injectionAngularJS - dependency injection
AngularJS - dependency injection
 
20 most important java programming interview questions
20 most important java programming interview questions20 most important java programming interview questions
20 most important java programming interview questions
 
OBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTES
OBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTESOBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTES
OBJECT ORIENTED PROGRAMMING LANGUAGE - SHORT NOTES
 
Selenium-Browser-Based-Automated-Testing-for-Grails-Apps
Selenium-Browser-Based-Automated-Testing-for-Grails-AppsSelenium-Browser-Based-Automated-Testing-for-Grails-Apps
Selenium-Browser-Based-Automated-Testing-for-Grails-Apps
 
RomaFramework Tutorial Basics
RomaFramework Tutorial BasicsRomaFramework Tutorial Basics
RomaFramework Tutorial Basics
 
Java 3 rd sem. 2012 aug.ASSIGNMENT
Java 3 rd sem. 2012 aug.ASSIGNMENTJava 3 rd sem. 2012 aug.ASSIGNMENT
Java 3 rd sem. 2012 aug.ASSIGNMENT
 
React Basic and Advance || React Basic
React Basic and Advance   || React BasicReact Basic and Advance   || React Basic
React Basic and Advance || React Basic
 
Fundamental Concepts of React JS for Beginners.pdf
Fundamental Concepts of React JS for Beginners.pdfFundamental Concepts of React JS for Beginners.pdf
Fundamental Concepts of React JS for Beginners.pdf
 
The Web on OSGi: Here's How
The Web on OSGi: Here's HowThe Web on OSGi: Here's How
The Web on OSGi: Here's How
 
Adding a modern twist to legacy web applications
Adding a modern twist to legacy web applicationsAdding a modern twist to legacy web applications
Adding a modern twist to legacy web applications
 
Activity
ActivityActivity
Activity
 
Activity
ActivityActivity
Activity
 
Activity
ActivityActivity
Activity
 
Activity
ActivityActivity
Activity
 

Dernier

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 

Dernier (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 

Jade V

  • 1. JADE Java Agent Development Framework Jelena Jovanovic Email: [email_address]
  • 2.
  • 3.
  • 4. JADE basics 06/04/09 CONTAINER a running instance of the JADE runtime environment PLATFORM a set of active containers The main container of the platform; all other containers register with it as soon as they start.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10. HelloWorldAgent 06/04/09 import jade.core.Agent; public class HelloWorldAgent extends Agent { protected void setup() { System.out.println(“Hello World!”); System.out.println(“My name is ” + getAID().getName() ); } }
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24. The agent execution model 06/04/09
  • 25.
  • 26. A more realistic HelloWorld Agent 06/04/09 import jade.core.Agent; import jade.core.behaviours.*; public class HelloWorldAgent1 extends Agent { protected void setup() { addBehaviour ( new B1 ( this ) ); } } class B1 extends SimpleBehaviour { public B1(Agent a) { super (a); } public void action () { System.out.println( &quot;Hello World! My name is &quot; + myAgent .getAID().getName() ); finished = true; } private boolean finished = false; public boolean done () { return finished; } }
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 34.
  • 35.
  • 36.
  • 37.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52.
  • 53.
  • 54.
  • 55.
  • 56.
  • 57.
  • 58.
  • 59.
  • 60.
  • 61.
  • 62.
  • 63.
  • 64.
  • 65.
  • 66.
  • 67.
  • 68.
  • 69.
  • 70.
  • 71. Moving an agent 06/04/09 A utility method containing a call to the Agent.getContentManager().fillContent(…)
  • 72.
  • 73.
  • 74.
  • 75.
  • 76.
  • 77.
  • 78.
  • 79.
  • 80.
  • 81.
  • 82. JADE Java Agent Development Framework Jelena Jovanovic Email: [email_address]