Kelly Davis and Tom Goodale How to Write an Adaptor Kelly Davis and Tom Gooldale and

Slides:



Advertisements
Similar presentations
IMS Learning Design Runtime Tools Paul Sharples Institute for Educational Cybernetics University of Bolton.
Advertisements

Component Oriented Programming 1 Chapter 2 Theory of Components.
1 CENTER FOR PARALLEL COMPUTERS An Introduction to Globus Toolkit® 3 -Developing Interoperable Grid services.
Apache Axis2 - OSGi Integration in WSO2 Carbon Platform
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Chapter 1 Object-Oriented.
Introduction to Systems Architecture Kieran Mathieson.
Kelly Davis How to Write an Adaptor Kelly Davis AEI-MPG.
Objectives:1. Archiving and Packaging Java Code 2. The jar Program JAR Files.
Java Jar Files Bar-Ilan University תשס"ה by Moshe Fresko.
Kelly Davis GAT: Grid Application Toolkit Kelly Davis AEI-MPG.
The Open Grid Service Architecture (OGSA) Standard for Grid Computing Prepared by: Haoliang Robin Yu.
Kelly Davis Architecture of GAT Kelly Davis AEI-MPG.
1 Software Reuse in Eclipse Kellie-Ann Smith Norgye Yuanyuan Song Xiang Yin Jia Xu.
CS0007: Introduction to Computer Programming Setting Up Java.
Deployment. Packaging programs in Jar files Deployment applications with Java web start Creating and deploying applets with Java Plug-in.
Deploying Java applications as JAR files SE-2030 Dr. Mark L. Hornick 1 How to package an application so that you can run it outside of Eclipse.
עיצוב תוכנה מונחה עצמים תירגול 1. 1.Packages and Paths 2.Jar Files Outline.
Chapter 55 How to Construct JAR files for Program Distribution.
Setting up the Development Environment Copyright © SUPINFO. All rights reserved Preparation.
Grid Workflow within Triana Ian Wang Cardiff University.
Adviser: Yih-Ran Sheu Adviser : Yih-Ran Sheu Student : Shin-hao Wang SN:MA Mohammed A Qadeer Dept of Computer Engg Aligarh Muslim University, Aligarh,
TeraGrid Information Services December 1, 2006 JP Navarro GIG Software Integration.
Introduction to the Atlas Platform Mobile & Pervasive Computing Laboratory Department of Computer and Information Sciences and Engineering University of.
BREW Client for GHRC Prem Kumar, QUALCOMM Inc. BREW Client – 4.1 Overview Confidential and Proprietary 2 BREW GHRC Document History >Kicked off in the.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Chapter 12 Object-Oriented.
Case Studies on Design Patterns Design Refinements Examples.
Department of Computer Science, York University Object Oriented Software Construction 13/10/ :44 AM 0 CSE3311 – Software Design Adapter Pattern.
Towards a Universal Client for Grid Monitoring Systems Towards a Universal Client for Grid Monitoring Systems Design and Implementation of the Ovid Browser.
Java Applets. 2 Introduction to Java Applet Programs  Applications are stand alone programs executed with Java interpreter executed with Java interpreter.
Unit R005: Understanding Computer Systems Introduction System Software Software (i.e., programs) used to control the hardware directly Used to run the.
Object-Oriented Modeling Chapter 10 CSCI CSCI 1302 – Object-Oriented Modeling2 Outline The Software Development Process Discovering Relationships.
Migrating Desktop The graphical framework for running grid applications Bartek Palak Poznan Supercomputing and Networking Center The.
Java Applets. 2 Introduction to Java Applet Programs Applications are ___________________ programs –executed with Java interpreter Applet is a small program.
1 Chapter 8 – Classes and Object: A Deeper Look Outline 1 Introduction 2 Implementing a Time Abstract Data Type with a Class 3 Class Scope 4 Controlling.
Kelly Davis and Tom Goodale Architecture of GAT Kelly Davis and Tom Goodale and
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Cole David Ronnie Julio. Introduction Globus is A community of users and developers who collaborate on the use and development of open source software,
Introduction to Grids By: Fetahi Z. Wuhib [CSD2004-Team19]
A user interface framework for Grid-based computational steering and visualization. Jason Wood*, Mark Riding and Ken Brodlie.
Hiding Grid Complexity Behind SSH Session Server framework Tomasz Kuczyński (1,2) 1) Poznan Supercomputing and Networking Center.
Computer Science 209 Software Development Inheritance and Composition.
Liang, Introduction to Java Programming, Sixth Edition, (c) 2007 Pearson Education, Inc. All rights reserved Object-Oriented Design.
Iterators (short version) Chapter 15 Copyright ©2012 by Pearson Education, Inc. All rights reserved.
GridChem Architecture Overview Rion Dooley. Presentation Outline Computational Chemistry Grid (CCG) Current Architectural Overview CCG Future Architectural.
Understand Windows Services Software Development Fundamentals LESSON 5.3.
(1) Introduction to Robocode Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of Hawaii Honolulu.
3/5/2002e-business and Information Systems1 Java Java Java Virtual Machine (JVM) Java Application Program Interface (API) HW Kernel API Application Programs.
Design and implementation Chapter 7 – Lecture 1. Design and implementation Software design and implementation is the stage in the software engineering.
Introduction to OSGi +ActorFrame Surya Bahadur Kathayat
Writing GAT Adaptors Hartmut Kaiser
Computer Science 209 Software Development Packages.
1 Cloud paradigm, standards and middleware for PGS * ESRIN *
Chapter 4. CONCEPT OF THE OPERATING SYSTEM MANAGING ESSENTIAL FILE OPERATIONS.
What Do Computers Do? A computer system is
CLIF is a Load Injection Framework clif.ow2.org
The Open Grid Service Architecture (OGSA) Standard for Grid Computing
API Tooling An API is a contract.
CSC 480 Software Engineering
OpenOffice.org API Plugin for NetBeans- a look under the hood
Worse is better, also called the New Jersey style, is the name of a computer software design.
Making the System Operational Implementation & Deployment
Slides by Steve Armstrong LeTourneau University Longview, TX
Java Applets.
Software Engineering Lecture #14.
Fundamentals of Human Computer Interaction (HCI)
Chapter 7 –Implementation Issues
AP Computer Science DYRT Quiz
Software Engineering and Architecture
Copyright 1999 B.Ramamurthy
About LS Studio… 1 LS Studio? 3 Enhanced variable sharing 2
Presentation transcript:

Kelly Davis and Tom Goodale How to Write an Adaptor Kelly Davis and Tom Gooldale and AEI-MPG

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Introduction What is an Adaptor? An adaptor is a software component which adapts the interface of a one software component to the interface expected by a second software component.

Kelly Davis and Tom Goodale Introduction What is an Adaptor? An adaptor is a software component which adapts the interface of a one software component to the interface expected by a second software component.

Kelly Davis and Tom Goodale Introduction How are Adaptors used in GAT?  GAT = Client  CPIClass = Target  GATAdaptor = Adaptor  GATAdaptee = Adaptee

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Cpi Classes What are Cpi Classes? CpiClasses are abstract classes that present to GAT a well defined interface and thus allow for the existence of GATAdaptors

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale File Management FileCpi LogicalFileCpi FileCpi - Abstract class that one must extend to provide the File capability. LogicalFileCpi - Abstract class that one must extend to provide the LogicalFile capability.

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Collection Management CollectionCpi CollectionCpi - Abstract class that one must extend to provide the Collection capability.

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Resource Management ResourceBrokerCpi ResourceBrokerCpi - Abstract class that one must extend to provide the ResourceBroker capability.

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Peer-to-Peer Interaction StreamCpi StreamCpi - Abstract class that one must extend to provide the Stream capability.

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Job Management SimpleJobCpi CheckpointableSimpleJobCpi SimpleJobCpi - Abstract class that one must extend to provide the SimpleJob capability. checkpointableSimpleJobCpi - Abstract class that one must extend to provide the CheckpointableSimpleJob capability.

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Implement the CPI Functions

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Create Manifest: Java Standard Attributes Manifest-Version Created-By Extension-Name Implementation-Title … GAT Attributes FileCpi-class FileCpi-schema Manifest-Version: 1.0 Created-By: 1.4.1_01 (Apple Computer, Inc.) Extension-Name: org.gridlab.gat.adaptors.file Implementation-Title: MyFirstAdaptor Implementation-Version: 1.0 Implementation-Vendor: GridLab Implementation-Vendor-Id: org.gridlab Implementation-URL: Sealed: true FileCpi-class: org.gridlab.gat.adaptors.file.MyFileCpi FileCpi-schema: httpg

Kelly Davis and Tom Goodale Create Manifest: C Standard Attributes Manifest-Version Created-By Extension-Name Implementation-Title … GAT Attributes GAT-SO GAT-FileCpi-Constructor GAT-FileCpi-Equals … Manifest-Version: 1.0 Created-By: 1.4.1_01 (Apple Computer, Inc.) Extension-Name: MyFileCpi Implementation-Title: MyFirstAdaptor Implementation-Version: 1.0 Implementation-Vendor: GridLab Implementation-Vendor-Id: org.gridlab Implementation-URL: FileCpi-schema: httpg GAT-SO: file.so GAT-FileCpi-Constructor: MyFileCpi_Constructor GAT-FileCpi-Equals: MyFileCpi_Equals …

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Jar Manifest and Shared Object Java C >ls MANIFEST.MF org >jar cmf MANIFEST.MF file.jar org/ >ls MANIFEST.MF file.so >jar cmf MANIFEST.MF file.jar file.so

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Sign the jar Java and C >jarsigner file.jar kdavis

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!

Kelly Davis and Tom Goodale Install the Signed jar Java C lib/ext [in the JRE] jre/lib/ext [in the Java 2 SDK] lib/ext [in the GAT install dir]

Kelly Davis and Tom Goodale Outline Introduction Cpi Classes File Management Collection Management Resource Management Peer-to-Peer Interaction Job Management Implementing a Provider Implement the Cpi functions Create a shared object Create a Manifest Jar the Manifest and shared object Sign the jar Integrating a Provider Install the signed jar Off to the races!