Implementation of XML Database and Enhancement of Resource and Sensor Agents Cuong Ngo CSS497 Summer 2006 Professor Munehiro Fukuda.

Slides:



Advertisements
Similar presentations
Query Methods (SQL). What is SQL A programming language for databases. SQL (structured Query Language) It allows you add, edit, delete and run queries.
Advertisements

4.01 How Web Pages Work.
XSL XSLT and XPath 11-Apr-17.
MNO Cloud Use Case 3 Source: Rogers Wireless Contact: Ed O’Leary George Babut 3GPP/SA3-LI#43Tdoc SA3LI11_116.
Multi-Model Digital Video Library Professor: Michael Lyu Member: Jacky Ma Joan Chung Multi-Model Digital Video Library LYU9904 Multi-Model Digital Video.
Kyung Hee University 1 1 Application Layer. 2 Kyung Hee University Position of Application Layer.
Presentation Outline  Project Aims  Introduction of Digital Video Library  Introduction of Our Work  Considerations and Approach  Design and Implementation.
© 2010, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet 1.
Web Server Administration
Introduction to Web Database Processing
Introduction to Web Interface Technology (CSE2030)
1 Computing for Todays Lecture 22 Yumei Huo Fall 2006.
(NHA) The Laboratory of Computer Communication and Networking Network Host Analyzer.
Interpret Application Specifications
Introduction to Web Interface Technology (CSE2030)
Company LOGO Development of Resource/Commander Agents For AgentTeamwork Grid Computing Middleware Funded By Prepared By Enoch Mak Spring 2005.
Inter-cluster Job Deployment by AgentTeamwork Sentinel Agents Emory Horvath CSS497 Spring 2006 Advisor: Dr. Munehiro Fukuda.
© 2004, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet.
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Client/Server Architecture
Module 9 Designing an XML Strategy. Module 9: Designing an XML Strategy Designing XML Storage Designing a Data Conversion Strategy Designing an XML Query.
Presented by Mina Haratiannezhadi 1.  publishing, editing and modifying content  maintenance  central interface  manage workflows 2.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
Electronic Commerce Last Week
INTRODUCTION TO WEB DATABASE PROGRAMMING
IT 210 The Internet & World Wide Web introduction.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
Checking Network/Port Connectivity using Kaseya Agent Procedures Developed By: Emmanuel Giboyeaux Advisor : Dr. S. Masoud Sadjadi School of Computing and.
The Old World Meets the New: Utilizing Java Technology to Revitalize and Enhance NASA Scientific Legacy Code Michael D. Elder Furman University Hayden.
JavaScript, Fourth Edition Chapter 12 Updating Web Pages with AJAX.
1 Web Server Administration Chapter 1 The Basics of Server and Web Server Administration.
TriUlti Senior Project iFlowEdit HTML5 Canvas Workflow Diagram Editor Sponsored By iNNOVA IT Solution Inc.
Data File Access API : Under the Hood Simon Horwith CTO Etrilogy Ltd.
Information Systems: Databases Define the role of general information systems Describe the elements of a database management system (DBMS) Describe the.
Cloud computing for internet emulator. Professor Muthucumaru Maheswaran Team Members Mia Hochar Simon Foucher David El Achkar David El Achkar Marc Atie.
The Network Performance Advisor J. W. Ferguson NLANR/DAST & NCSA.
NMED 3850 A Advanced Online Design January 12, 2010 V. Mahadevan.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
 2004 Prentice Hall, Inc. All rights reserved. 1 Segment – 6 Web Server & database.
WEB BASED DATA TRANSFORMATION USING XML, JAVA Group members: Darius Balarashti & Matt Smith.
1 Welcome to CSC 301 Web Programming Charles Frank.
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
1 Overview of XSL. 2 Outline We will use Roger Costello’s tutorial The purpose of this presentation is  To give a quick overview of XSL  To describe.
Internet Architecture and Governance
Web Pages with Features. Features on Web Pages Interactive Pages –Shows current date, get server’s IP, interactive quizzes Processing Forms –Serach a.
8/25/2005IEEE PacRim The Design Concept and Initial Implementation of AgentTeamwork Grid Computing Middleware Munehiro Fukuda Computing & Software.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Jan Hatje, DESY SNL Editor and Debugger EPICS collaboration meeting SNL Editor and Debugger EPICS collaboration meeting 2008 Shanghai Institute.
10 Copyright © 2004, Oracle. All rights reserved. Building ADF View Components.
CSS497 Undergraduate Research Performance Comparison Among Agent Teamwork, Globus and Condor By Timothy Chuang Advisor: Professor Munehiro Fukuda.
8/25/2005IEEE PacRim The Check-Pointed and Error-Recoverable MPI Java of AgentTeamwork Grid Computing Middleware Munehiro Fukuda and Zhiji Huang.
COMP 143 Web Development with Adobe Dreamweaver CC.
Mobile SMIL Jason Daniels Ben Bedinghaus Ryan Ware.
A System for Monitoring and Management of Computational Grids Warren Smith Computer Sciences Corporation NASA Ames Research Center.
VIRTUAL NETWORK COMPUTING SUBMITTED BY:- Ankur Yadav Ashish Solanki Charu Swaroop Harsha Jain.
XP Creating Web Pages with Microsoft Office
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
4.01 How Web Pages Work.
IS1500: Introduction to Web Development
Chapter 12 Information Systems.
Printer Admin Print Job Manager
Prepared for Md. Zakir Hossain Lecturer, CSE, DUET Prepared by Miton Chandra Datta
Offline Database Synchronization with SOAP and MySQL
Lecture 1: Multi-tier Architecture Overview
4.01 How Web Pages Work.
Web Application Development Using PHP
Presentation transcript:

Implementation of XML Database and Enhancement of Resource and Sensor Agents Cuong Ngo CSS497 Summer 2006 Professor Munehiro Fukuda

Overview Mobile agents and AgentTeamWork XML Format and XML DOM object New XML database and Applet GUI Dynamic monitoring of resources Future work AgentTeamwork

AgentTeamWork Overview FTP Server User A User B User B snapshot snapshots User program wrapper Snapshot Methods GridTCP User program wrapper Snapshot Methods GridTCP User program wrapper Snapshot Methods GridTCP snapshot User A’s Process User A’s Process User B’s Process TCP Communication Commander Agent Sentinel Agent Resource Agent Sentinel Agent Resource Agent Bookkeeper Agent Results XDB

Project Objectives Replace old database, eXist No documentation No documentation Need to include cluster information Need to include cluster information Dynamically monitor resources Proper communication between agents eXistXDBase

XML Format XML File DOM Object XML Format XML File DOM Object <department><employee> John Doe John Doe Bill Jones Bill Jones Element “department” Element “employee” Element “ ” Element “employee” Element “name” Text “John Doe” Text “Bill Jones” Element “ ” Text Text Element “name”

DOM: Document Object Model Keeps XML structure in tact DOM Structure Node Node Document Document Element Element Text Text Ability to: Add Add Delete Delete Modify Modify Query Query Element “department” Element “employee” Element “ ” Element “name” Text “John Doe” Text Whole XML File Element “id” Text “5561” Text

Xpath Expressions Xpath is a query language used to find information in an XML document Java provides XPathAPI to use Xpath expressions to perform tasks Examples /department/employee /department/employee /department/employee[name=‘John Doe’]/ /department/employee[name=‘John Doe’]/ //name //name //employee[name = ‘Bill Jones’]/ /text() //employee[name = ‘Bill Jones’]/ /text() //employee/* //employee/* //name | // //name | // Element “department” Element “employee” Element “ ” Element “employee” Element “name” Text “John Doe” Text “Bill Jones” Element “ ” Text Text Element “name”

Database Overview Parse XML document to DOM object and create a wrapper object called Resource Modification timestamp Modification timestamp Availability Availability Ping Ping Collection class contains Resources Database contains Collections Parse and process request Parse and process request Services connect to database and demand a request RetrievalService RetrievalService QueryService QueryService Applet-based GUI interacts with database

Database Services Create a collection, synchronize by writing database contents back to local disk, and shutting down of the database Store, retrieve and delete a collection or resource Update a single resource or an entire collection Query a collection for specific items Specifically query the database for resources based on requirements

Resource Itinerary with Cluster Information Old format included only IP addresses Assumed every IP was public Assumed every IP was public New format contains a cluster, its gateway and its cluster nodes. Use gateway to communicate between nodes of different clusters Use gateway to communicate between nodes of different clusters Even gateway must be running AgentTeamWork platform Even gateway must be running AgentTeamWork platform

Applet-based GUI Graphically interact with the new database Ability to: Look at database contents Look at database contents Add files Add files Delete files Delete files Connect to remotely located databases Connect to remotely located databases

Applet-based GUI 2

ResourceAgent Modifications Create runtime file for each cluster node Create itinerary for SensorAgent to monitor nodes dynamically Query the database for all nodes within a domain, such as “UWB” Query the database for all nodes within a domain, such as “UWB” Itinerary includes cluster and public nodes Itinerary includes cluster and public nodes Proper communication with other agents

SensorAgent Modifications Resource id 1 Sensor Client Root Id 4 Sensor Server Root Id 5 Client 1 Id 16 Client 2 Id 17 Server 1 Id 20 Server 2 Id 21 XDBase

SensorAgent Modifications 2 Resource id 1 Public Client Root Id 17 Sensor Root Id 4 Gateway 1 Id 16 Gateway 2 Id 64 G1 Client Root Id 65 G1 Server Root Id 66 Public Server Root Id 18 Server 2 Id 73 G2 Client Root Id 256 G2 Server Root Id 257 Client 1 Id 68 Client 2 Id 69 Server 1 Id 72 G2 Client 1 Id 1024 G2 Server 1 Id 1028 Cluster 2 Cluster 1 XDBase

Future Expansions of Database Easy to add new functionality to database Create a service to send a request to database Create a service to send a request to database Database parses and processes the request Database parses and processes the request Database send back results Database send back results

Future AgentTeamWork Tasks SensorAgent Have 2 cluster gateways perform bandwidth test to monitor inter-cluster bandwidth Have 2 cluster gateways perform bandwidth test to monitor inter-cluster bandwidth Need communication to change unavailable nodes to available when a job is complete CommanderAgent informs ResourceAgent which in turns creates a service request to the database CommanderAgent informs ResourceAgent which in turns creates a service request to the database

What I Learned XML, DOM object, Xpath Grid computing programming Communication between team members Understanding existing code and modifying it without breaking it

Acknowledgements Advisor Prof. Munehiro Fukuda Sponsor Prof. Shinya Kobayashi Emory Horvath CSS301, CSS342, CSS343, CSS434, CSS442, CSS360 XML and Java, 2 nd Edition book

Questions ?