200 likes | 327 Views
E2 Plugin Architecture Project. Minh Vu <mvu@uark.edu> Mentor: Craig Thompson <cwt@uark.edu> CSCE Department, University Of Arkansas. orders & subscriptions. observations & recommendations. Any threats?. Need fuel!. I see a tank!. Vision – Everything is Alive. Predecessor
E N D
E2 Plugin Architecture Project Minh Vu <mvu@uark.edu> Mentor: Craig Thompson <cwt@uark.edu> CSCE Department, University Of Arkansas ALAR 2005 - E2 Architecture - Minh Vu
orders & subscriptions observations & recommendations Any threats? Need fuel! I see a tank! Vision – Everything is Alive Predecessor SUO Agent System was simple and powerful but not scalable A vision of pervasive computing ALAR 2005 - E2 Architecture - Minh Vu
E2 Architecture Project Aims Capabilities call exchange Agent ALAR 2005 - E2 Architecture - Minh Vu
The Eclipse Project ALAR 2005 - E2 Architecture - Minh Vu
Eclipse Architecture Overview Another Tool Eclipse Platform Workbench Help Java Development Tools (JDT) JFace SWT Team Your Tool Plug-in Development Environment (PDE) Workspace Debug Their Tool Platform Runtime Eclipse Project ALAR 2005 - E2 Architecture - Minh Vu
Typical Eclipse’s Arrangement plug-in B plug-in A contributes extensionpoint P extension implements interface I class C creates, calls ALAR 2005 - E2 Architecture - Minh Vu
XML Interface (plugin.xml) <plugin id="e2.university.student" name="Student Plug-in" version="1.0.0" provider-name="Minh Vu"> <runtime> <library name="bin/"> <export name="e2.university.*"/> </library> </runtime> <requires> <import plugin="e2.gui"/> <import plugin="e2.university"/> <import plugin="org.eclipse.swt_win32"/> </requires> Plugin Header Information Libraries exported by this plugin Libraries used by this plugin ALAR 2005 - E2 Architecture - Minh Vu
XML Interface (Cont). • <extension-point id="handler" name="Generic Events Handler" schema="schema/handler.exsd"/> • <extension id="student" point="e2.gui.handler"> <rootmenu handler="e2.university.Student" name="toolbar"> <menu submenu="student;verb" name="Student"/> </rootmenu> </extension> Extension-point declaration by e2.ui plugin Extension to above extension-point declared by e2.univerisity.student plugin ALAR 2005 - E2 Architecture - Minh Vu
E2 Architecture Agent Extension Layer Plugin Loading Layer Plugin.xml ALAR 2005 - E2 Architecture - Minh Vu
E2 Project • Using eclipse ideas: • Agent instance of eclipse platform. • Capability plugin. • Add features: • Dynamic add/remove/connect plugins. • More flexible on integrate plugins. • Facilitate communicate intra-platform between plugins • Performance improvement: • Skim reading interface. • Share JVM. • Smaller foot print. ALAR 2005 - E2 Architecture - Minh Vu
Everything Is Alive Agent System On E2 Agents have plugin capabilities Compatible with middleware standards including WSDL Research Project ~10 students E2 Platform <Role> Plugin Message Transport Plugin GUI Plugin Java2WSDL Utility Digital License Management Natural Language Interface Plugin Robot Plugin Remote Control Negotiation Plugin Contract Digital Rights Plugin Micro payments Plugin Electronic Receipts Sensor Vehicle Thermostat Light ALAR 2005 - E2 Architecture - Minh Vu http://csce.uark.edu/~cwt/WEB/Craig-Thompson-web-vita.html#Publications
E2 Architecture Agent Extension Layer Plugin Loading Layer Plugin.xml WSDL ALAR 2005 - E2 Architecture - Minh Vu
Why Add/Remove Dynamically? Old Abilities New Abilities ALAR 2005 - E2 Architecture - Minh Vu
Integrate Plugins Programmatically? A $$$ !A ??? Web Services ALAR 2005 - E2 Architecture - Minh Vu
Communication • Agent communicate using message transport plugins. • Plugins in a platform can also pipe objects to each other. ALAR 2005 - E2 Architecture - Minh Vu
E2 Architecture E2 Platform • E2 platform software • Loading layer to manage plugins • Extension layer to connect plugins • Transport layer for intra-platform communication • Generic UI Message Transport Plugin GUI Plugin ALAR 2005 - E2 Architecture - Minh Vu
Future Work • E2 platform implementation • Support multiple interfaces and interpreters • Add/remove interpreters dynamically • Automated interface generator • E2 platform applications • Integrate web services • Implement menu-based natural language plugin • Integrate other CSCE research ALAR 2005 - E2 Architecture - Minh Vu
References • Minh vu and Craig Thompson, “E2 plugin architecture,” IEEE integration of knowledge intensive multi-agent systems (KIMAS-05), Waltham, MA, April 18-21, 2005. • http://comp.uark.edu/~mvu/e2. • http://eia.sourceforge.net. ALAR 2005 - E2 Architecture - Minh Vu
Questions ALAR 2005 - E2 Architecture - Minh Vu