CDDLM Component Model Steve Loughran HP Laboratories.

Slides:



Advertisements
Similar presentations
웹 서비스 개요.
Advertisements

Report from the ATF ATF team. 2 What is an Attribute? Think of it this way: –Attributes define a pattern or short hand for messages that are supported.
Web Service Architecture
MIT Lincoln Laboratory A Service-Oriented Approach to Application Development Robert Darneille & Gary Schorer WPI MQP Presentations ICS Group 10 October.
Importing and Calling Web Services from your CA Plex Applications Session Code: Lab13 Rob Layzell.
Service Description: WSDL COMP6017 Topics on Web Services Dr Nicholas Gibbins –
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
Web Services Web Services are the basic fundamental building blocks of invoking features that can be accessed by an application program. The accessibility.
Web Services Darshan R. Kapadia Gregor von Laszewski 1http://grid.rit.edu.
1 Software Testing and Quality Assurance Lecture 12 - The Testing Perspective (Chapter 2, A Practical Guide to Testing Object-Oriented Software)
6/11/2015Page 1 Web Services-based Distributed System B. Ramamurthy.
CS 501: Software Engineering Fall 2000 Lecture 16 System Architecture III Distributed Objects.
1 HyCon Framework Overview Frank Allan Hansen and Bent Guldbjerg Christensen ! Run this presentation in presentation mode to watch animations.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
1 Modeling Stateful Resources with Web Services ICE Ph.D lecture Byung-sang Kim.
SOA, BPM, BPEL, jBPM.
1 Lecture 22 George Koutsogiannakis Summer 2011 CS441 CURRENT TOPICS IN PROGRAMMING LANGUAGES.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Object and component “wiring” standards This presentation reviews the features of software component wiring and the emerging world of XML-based standards.
Zhonghua Qu and Ovidiu Daescu December 24, 2009 University of Texas at Dallas.
Eric Keller, Evan Green Princeton University PRESTO /22/08 Virtualizing the Data Plane Through Source Code Merging.
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
1 Cisco Unified Application Environment Developers Conference 2008© 2008 Cisco Systems, Inc. All rights reserved.Cisco Public Introduction to Etch Scott.
Introduction to Object Oriented Programming CMSC 331.
Chapter 18 Object Database Management Systems. McGraw-Hill/Irwin © 2004 The McGraw-Hill Companies, Inc. All rights reserved. Outline Motivation for object.
OGSA Hauptseminar: Data Grid Thema 2: Open Grid Service Architecture
XML and Web Services (II/2546)
INT-9: Implementing ESB Processes with OpenEdge ® and Sonic ™ David Cleary Principal Software Engineer.
Design Patterns David Talby. This Lecture Re-routing method calls Chain of Responsibility Coding partial algorithms Template Method The Singleton Pattern.
Testing OO software. State Based Testing State machine: implementation-independent specification (model) of the dynamic behaviour of the system State:
Java EE - JSR 303 Bean validation - Pierre-Johan CHARTRE
Fall 2015CISC/CMPE320 - Prof. McLeod1 CISC/CMPE320 Lecture Videos will no longer be posted. Assignment 3 is due Sunday, the 8 th, 7pm. Today: –System Design,
GT3 Tutorial Chapter 3 and Chapter 4 Lecture for Cluster and Grid Computing, CSCE 490/590 Fall 2004, University of Arkansas, Dr. Amy Apon
Modern Programming Language. Web Container & Web Applications Web applications are server side applications The most essential requirement.
Chapter 18 Object Database Management Systems. Outline Motivation for object database management Object-oriented principles Architectures for object database.
CDDLM on HP SmartFrog Middleware Workshop. Service: CDDLM Distributed Deployment Framework HPL implementation of GGF CDDLM WG – (and.
Lecture VI: SOAP-based Web Service CS 4593 Cloud-Oriented Big Data and Software Engineering.
WP3 Implementing R-GMA grid services in GT3 Abdeslem Djaoui & WP3 Grid Services Task Force 7 th EU Datagrid meeting 26/09/2003
DEVELOPING WEB SERVICES WITH JAVA DESIGN WEB SERVICE ENDPOINT.
Notices Assn 2 is due tomorrow, 7pm. Moodle quiz next week – written in the lab as before. Everything up to and including today’s lecture: Big Topics are.
The Java API for XML-Based Web Services. A Web Service example in Java SOAP-awareServlet (e.g. Apache Axis2) SOAP-awareServlet Any class processing the.
CDDLM on HP SmartFrog Middleware Workshop. Service: CDDLM Distributed Deployment Framework HPL implementation of GGF CDDLM WG – (and.
Introduction  Model contains different kinds of elements (such as hosts, databases, web servers, applications, etc)  Relations between these elements.
Service Oriented Architecture.  SOA is an architectural pattern in software design.  SOA application components provide services to other components.
Jun Tatemura NEC Laboratories Amercia GGF10, March 2004
CDDLM-WG discussions with OGSA-WG
Sabri Kızanlık Ural Emekçi
Chapter 5 Remote Procedure Call
WEB SERVICES.
Introduction to Advanced Java Programming
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
Writing simple Java Web Services using Eclipse
Web Services-JAX-RPC JAX-RPC enables a Web Service endpoint to be developed using either a Java Servlet or Enterprise JavaBeans (EJB) component model.
Chapter 11 Object-Oriented Design
Using the MEF Core Model in ONAP John Strassner, Ph. D. Andy Mayer, Ph
Data Modeling II XML Schema & JAXB Marc Dumontier May 4, 2004
ATS Application Programming: Java Programming
Object Oriented Analysis and Design
Web services, WSDL, SOAP and UDDI
WS-Resource Framework: Globus Alliance Perspectives
Introduction to Web Services
Student: Popa Andrei-Sebastian
7. Decorator SE2811 Software Component Design
Distributed System using Web Services
Java Remote Method Invocation
Knowledge Byte In this section, you will learn about:
New Tools In Education Minjun Wang
Distributed System using Web Services
Techniques to Invoke Web Services from SAS
Presentation transcript:

CDDLM Component Model Steve Loughran HP Laboratories

disclaimer work in progress work in progress not in perfect agreement with current draft component model doc not in perfect agreement with current draft component model doc view it as an annotated response/followup to that draft view it as an annotated response/followup to that draft

declaration component model ::= how you build code to integrate with CDDLM

not the graph of components in a deployment descriptor

the extension hierarchy of language level components does not imply implementation inheritance

Declaration Inheritance does not imply implementation inheritance 80

Proposed Component Model 1.Every component has a SOAP endpoint that Basic Services can talk to 2.Every component is a WSDM manageable thing (i.e. WS-RF resource) 3.Components may not be in the same process as the runtime Cross platform; manageable.

Implications Need to deploy/exec component processes Need to deploy/exec component processes Basic Services messages+ Component Model messages defines the APIs Basic Services messages+ Component Model messages defines the APIs Rely on WS-* security model(s) for authentication Rely on WS-* security model(s) for authentication Communications limited to common types Communications limited to common types

Component Integration Components will reuse other components Components will reuse other components Recommend: delegation and not inheritance across components Recommend: delegation and not inheritance across components Recommend: use Basic Services to bind stuff Recommend: use Basic Services to bind stuff Basic Services stores the deployment graph plus the attributes Basic Services stores the deployment graph plus the attributes

Resource Management Can components provide resource information? Can components provide resource information?Examples: use of a Tomcat component implies Java; memory from maxMem attribute. use of a Tomcat component implies Java; memory from maxMem attribute. a linux/x86 binary sets the platform a linux/x86 binary sets the platform research topic?

document proposals attributes attributes state state health health errors errors

5.1.1 Attribute Query and Modification Every attribute declared within a CDL for an object will have a interface for retrieving the attributes property value. This interface will follow the standard get/set pattern for attribute retrieval. This is simply a requirement that each object provide a comprehensive set of get/set definitions for each of its exposed attributes.

5.2.1 attributes <input name="getWebServerInstance" message="tns:getWebServerInput"> <output name="getWebServerAttributes" message="tns:getWebServerInput">

this is the Ant model package org.apache.tools.ant.taskdefs; public class Java extends Task { public void setJvmargs(String s) { log("jvmargs is deprecated. ", Project.MSG_WARN); cmdl.createVmArgument().setLine(s); }

direct binding brittle RunJava jvm; int m;... jvm.setMaxMemory(48); jvm.setAssertions(true); m=jvm.getMinMemory(); jvm.setAttributeNotInRunJava("test") ; //error jvm.setAttributeTakenAway("test") ; //error

the SmartFrog model public class RunJavaImpl extends PrimImpl implements RunJava { public synchronized void sfDeploy() throws SmartFrogException,RemoteException { super.sfDeploy(); classname=sfResolve("classname", (String)null,true); Vector jvmArgs=(Vector) sfResolve(jvmargs, (Vector)null,false);... }

mediated is much more flexible BasicServices services;... services.setAttribute(jvm, "maxMemory",48); services.setAttribute(jvm, "assertions",true); m=services.getIntAttribute(jvm, "minMemory"); services.setAttribute(jvm, "attributeNotInRunJava","test"); services.setAttribute(jvm, " attributeTakenAway","test"); change notification?

state add terminate without running?

5.2.1 state query <output name="queryStateResponse" message="tns:queryStateOutput">

5.2.2 state transition <input name="stateActionRequest" message="tns:stateAction"> <output name="stateActionResponse" message="tns:stateActionResult"> 1. return boolean or faults? 2. terminate an undeployed component?

Health component do simple health checks component do simple health checks Basic Services/parent components handle failure Basic Services/parent components handle failure detect failure of child detect failure of child detect failure of parent detect failure of parent network partition == failure network partition == failure

Health in SmartFrog every component probes own health every component probes own health recurses through components recurses through components if tests fail: failure if tests fail: failure if parent doesn’t probe: child fails and (usually) undeploys itself if parent doesn’t probe: child fails and (usually) undeploys itself action on child failure is the choice of the parent action on child failure is the choice of the parent

WSDM Integration Configuration info in the CDL needed to configure WSDM health monitors Configuration info in the CDL needed to configure WSDM health monitors Failure of services can be detected by WSDM Failure of services can be detected by WSDM But reported to CDDLM system (yes?) But reported to CDDLM system (yes?) How to handle SLA violations? How to handle SLA violations?

5.3.1 Health Query <input name="getHealthStateRequest" message="tns:getHealthStateInput"> <output name="getHealthStateResponse" message="tns:getHealthStateOutput"> binary aggregates more easily

5.3.2 Extended Error Query <input name="getExtendedErrorRequest" message="tns:getExtendedErrorInput"> <output name="getExtendedErrorResponse" message="tns:getExtendedErrorOutput"> why not just throw faults on operations?

5.3.3 Maintenance Task Action <input name="taskActionRequest" message="tns:taskActionInput"> <output name="taskActionResponse" message="tns:taskActionOutput"> 1.difference from SOAPAction? 2.Parameters? 3.Route via Basic Services?

Faults SOAPFault vs. WS-BaseFault? SOAPFault vs. WS-BaseFault? Propose: WS-BaseFault for citizenship Propose: WS-BaseFault for citizenship Work with it as an XML doc, not some native struct Work with it as an XML doc, not some native struct Add: hostname element Add: hostname element Extend it with subclasses? Extend it with subclasses?

Conclusions 1.we have a model for components as separate WSDM manageable endpoints 2.we have some early WSDL for components 3.but are still exploring foundational issues