10 th Lecture COP 4991 Component-Based Software Development Instructor: Masoud Sadjadi

Slides:



Advertisements
Similar presentations
GT WS Core: Specification Upgrade. 2 Current Implementation l WS Addressing: March 2004 version l WSRF: June 2004 working draft l WSN: June 2004 working.
Advertisements

The Open Grid Services Architecture, Version 1.0 I. Foster, H. Kishimoto, A. Savva, D. Berry, A. Djaoui, A. Grimshaw, B. Horn, F. Maciel, F. Siebenlist,
Cognos Web Services Business Intelligence. SOA SOA (Service Oriented Architecture) The SOA approach involves seven key principles: -- Coarse -grained.
Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
State and Events for Web Services: A comparison of Five WS-Resource Framework and WS-Notification Implementations Marty Humphrey, Glenn Wasson, JarekGawor,
BiodiversityWorld GRID Workshop NeSC, Edinburgh – 30 June and 1 July 2005 Resource wrappers, web services, grid services Jaspreet Singh School of Computer.
TAC Vista Security. Target  TAC Vista & Security Integration  Key customer groups –Existing TAC Vista users Provide features and hardware for security.
July 06, 2006DB&IS Building Web Information Systems using Web Services Flavius Frasincar Erasmus University Rotterdam Eindhoven.
1 Introduction to XML. XML eXtensible implies that users define tag content Markup implies it is a coded document Language implies it is a metalanguage.
Intelligent Grid Solutions 1 / 18 Convergence of Grid and Web technologies Alexander Wöhrer und Peter Brezany Institute for Software.
Notes to the presenter. I would like to thank Jim Waldo, Jon Bostrom, and Dennis Govoni. They helped me put this presentation together for the field.
4a.1 Grid Computing Standards ITCS 4010 Grid Computing, 2005, UNC-Charlotte, B. Wilkinson, slides 4a.
CS 501: Software Engineering Fall 2000 Lecture 16 System Architecture III Distributed Objects.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Building services in WSRF Ben Clifford Draft For GGF summer school, July 2004.
CSE 636 Data Integration Web Services.
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
Chapter 12 Extending Web Applications. ASP.NET 2.0, Third Edition2.
Enterprise Resource Planning
Globus 4 Guy Warner NeSC Training.
1 Modeling Stateful Resources with Web Services ICE Ph.D lecture Byung-sang Kim.
Introduction to the Enterprise Library. Sounds familiar? Writing a component to encapsulate data access Building a component that allows you to log errors.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
Grid Computing, B. Wilkinson, 20043b.1 Web Services Part II.
Data Management Kelly Clynes Caitlin Minteer. Agenda Globus Toolkit Basic Data Management Systems Overview of Data Management Data Movement Grid FTP Reliable.
OPEN GRID SERVICES ARCHITECTURE AND GLOBUS TOOLKIT 4
Advanced Web Forms with Databases Programming Right from the Start with Visual Basic.NET 1/e 13.
9th Lecture COP 4991 Component-Based Software Development Instructor: Masoud Sadjadi Developing Grid Services.
The GRIMOIRES Service Registry Weijian Fang and Luc Moreau School of Electronics and Computer Science University of Southampton.
WSRF & WSRF’s Application in VO-DAS Haijun Tian ChinaVO
GT Components. Globus Toolkit A “toolkit” of services and packages for creating the basic grid computing infrastructure Higher level tools added to this.
Grid Services Grid Enablement of Scientific Applications Present by Mark Joselli Professor S. Masoud Sadjadi.
Grid-enabling OGC Web Services Andrew Woolf, Arif Shaon STFC e-Science Centre Rutherford Appleton Lab.
11 Web Services. 22 Objectives You will be able to Say what a web service is. Write and deploy a simple web service. Test a simple web service. Write.
Web Services Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
CYBERINFRASTRUCTURE FOR THE GEOSCIENCES Data Replication Service Sandeep Chandra GEON Systems Group San Diego Supercomputer Center.
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Course Schedule Report Web Service Carolyn Cracraft Lisa de Larios-Heiman.
OGSA Hauptseminar: Data Grid Thema 2: Open Grid Service Architecture
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 14 Database Connectivity and Web Technologies.
Service Oriented Architecture CCT355H5 Professor Michael Jones Suezan Makkar.
Grid Services I - Concepts
State Key Laboratory of Resources and Environmental Information System China Integration of Grid Service and Web Processing Service Gao Ang State Key Laboratory.
1 Application of UniTESK Technology for Functional Testing of Infrastructural Grid Software Sergey Smolov, Institute for System Programming, RAS
CS 501: Software Engineering Fall 1999 Lecture 12 System Architecture III Distributed Objects.
Kemal Baykal Rasim Ismayilov
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Advanced Web Technologies Lecture #4 By: Faraz Ahmed.
Web Service Resource Framework WSMO Presentation Jos de Bruijn Digital Enterprise Research Institute http ://
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
On Using BPEL Extensibility to Implement OGSI and WSRF Grid Workflows Aleksander Slomiski Presented by Onyeka Ezenwoye CIS Advanced Topics in Software.
Data Manipulation with Globus Toolkit Ivan Ivanovski TU München,
Steve Graham WS-ResourceFramework Modeling Stateful Resources With Web services OASIS WSRF TC F2F Wednesday, April 28th, 2004.
Copyright © 2004, Keith D Swenson, All Rights Reserved. OASIS Asynchronous Service Access Protocol (ASAP) Tutorial Overview, OASIS ASAP TC May 4, 2004.
Web Services. XML Namespaces, Schemas XML processing. Week 2.
© 2005 Global Grid Forum The information contained herein is subject to change without notice Leading the pervasive adoption of grid computing for research.
XML 1. Chapter 8 © 2013 Pearson Education, Inc. Publishing as Prentice Hall SAMPLE XML SCHEMA (XSD) 2 Schema is a record definition, analogous to the.
Added Value to XForms by Web Services Supporting XML Protocols Elina Vartiainen Timo-Pekka Viljamaa T Research Seminar on Digital Media Autumn.
WS-Resource Framework University of Amsterdam
Constructing Knowledge Bases for E-Learning Using Protégé 2000 and Web Services Presented by: Fuhua Oscar Lin Authors: Mike Hogeboom, Fuhua Oscar Lin,
Improving searches through community clustering of information
Web Programming Developing Web Applications including Servlets, and Web Services using NetBeans 6.5 with GlassFish.V3.
ASP.NET Web Forms and Web Services
Presented By: Fernando Trigoso
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Distributed System using Web Services
Chengyu Sun California State University, Los Angeles
Web Application Development Using PHP
Presentation transcript:

10 th Lecture COP 4991 Component-Based Software Development Instructor: Masoud Sadjadi

10 th LectureCOP-4991: Component-Based Software Development 2 Acknowledgement  Fernando Trigoso

10 th LectureCOP-4991: Component-Based Software Development 3 Outline  WSRF.NET Architecture  Attribute-based programming  Compatibility with GT4  WSRF Issues

10 th LectureCOP-4991: Component-Based Software Development 4 Background  WSRF –WS-Resource  WS-ResourceProperties  WS-ResourceLifetime  WS-Notification

10 th LectureCOP-4991: Component-Based Software Development 5 WSRF.NET  Open source implementation of WSRF and WS-Notification  Implements full set of specifications  Useful to evaluate the WSRF approach  To make programming WSRF.NET services as easy as programming Web Services

10 th LectureCOP-4991: Component-Based Software Development 6 WSRF.NET Architecture  Internet Information Services (IIS)  Internet Server Application Programming Interface (ISAPI) Humphrey, M., & Wasson, G. (2004). Architectural Foundation of WSRF.NET.

10 th LectureCOP-4991: Component-Based Software Development 7 WSRF.NET Architecture  ASP.NET with Web Services Extensions (WSE)  Wrapper Web Service automatically created by WSRF.NET Humphrey, M., & Wasson, G. (2004). Architectural Foundation of WSRF.NET.

10 th LectureCOP-4991: Component-Based Software Development 8 WSRF.NET Architecture  WS-Resource implemented with ADO.NET  Serialized result returned to client Humphrey, M., & Wasson, G. (2004). Architectural Foundation of WSRF.NET.

10 th LectureCOP-4991: Component-Based Software Development 9WS-Resource  WS-Resource implementation  Ability to query complex states  Ease to access multiple resources  Lookup based on key and state contents

10 th LectureCOP-4991: Component-Based Software Development 10WS-Resource  Portability, scalability and flexibility  No single-point of failure  Efficient expiration check  Provides an interface for customization

10 th LectureCOP-4991: Component-Based Software Development 11 Outline  WSRF.NET Architecture  Attribute-based programming  Compatibility with GT4  WSRF Issues

10 th LectureCOP-4991: Component-Based Software Development 12 Declarative & Imperative  Imperative programming –Most common –Methods define behavior of programs  Declarative programming –Declarations define behavior –No need to write instructions –Attributes are used to define behavior Wagner, B. (2005). Effective C#. [WebMethod] public string Hello() {return “Hello World”;}

10 th LectureCOP-4991: Component-Based Software Development 13 WSRF.NET Attribute Usage  Attributes easily define: –Resources –Resource Properties –Port Types  Aids development of grid services

10 th LectureCOP-4991: Component-Based Software Development 14 Attributes for Web Service [WebMethod] public string Hello() { return “Hello World”; } [WebMethod] public DateTime GetDate() { return DateTime.Now; }  Used to create the service logic  ASP.NET creates: –WSDL document –Support to route SOAP requests –HTML pages to test web service  Security provided by WSE

10 th LectureCOP-4991: Component-Based Software Development 15 Attributes for Stateful Resource class PackageService { [Resource] Package pkg; [Resource] PkgRoute route; [Resource] PkgLocation location; …  WS-Resource is an abstraction for a collection of state  WS-Resource addressed by EPR  Resource is the collection of members with [Resource] attribute Wasson, G. (2006). WSRF.NET 3.0 Programmer’s Reference.

10 th LectureCOP-4991: Component-Based Software Development 16 Attributes for Stateful Resource class PackageService { [Resource] Package pkg; [Resource] PkgRoute route; [Resource] PkgLocation location; …  Resource stored in the database with key: –URL + Resource Unique ID  EPR in SOAP message contains: – +  Resource loaded from database  Values placed in web service’s members Wasson, G. (2006). WSRF.NET 3.0 Programmer’s Reference.

10 th LectureCOP-4991: Component-Based Software Development 17 Attributes for Stateful Resource class PackageService { [Resource] Package pkg; [Resource] PkgRoute route; [Resource] PkgLocation location; …  WSRF.NET allows customization  Just implement IResource  Not all web methods require all values Wasson, G. (2006). WSRF.NET 3.0 Programmer’s Reference.

10 th LectureCOP-4991: Component-Based Software Development 18 Attributes for Resource Properties class PackageService { [Resource] Package pkg; [ResourceProperty] public string Sender { get { return pkg.Sender; } …  Resources described in Resource Property Document (RPD)  RPD is composed of ResourceProperties  All members with [ResourceProperty] define RPD Wasson, G. (2006). WSRF.NET 3.0 Programmer’s Reference.

10 th LectureCOP-4991: Component-Based Software Development 19 Adding Port Types to the Service [WSRFPortType(typeof(GetResourcePropertyPortType))] [WSRFPortType(typeof(ImmediateResourceTerminationPortType))] public class PackageService { [Resource] Package pkg; …  WSRF defines functions that may be supported  WSRF.NET implements all current specifications  Author’s can reuse them by declaring attributes Wasson, G. (2006). WSRF.NET 3.0 Programmer’s Reference.

10 th LectureCOP-4991: Component-Based Software Development 20 Outline  WSRF.NET Architecture  Attribute-based programming  Compatibility with GT4  WSRF Issues

10 th LectureCOP-4991: Component-Based Software Development 21 Compatibility with GT4  GT4 uses a different version of WS-Addressing than WSE 3.0  WSRF.NET makes process transparent  GT4 clients can interact with WSRF.NET services and vice versa (being tested)  WSRF.NET cannot send Notifications to both GT4 and WSE 3 services at the same time

10 th LectureCOP-4991: Component-Based Software Development 22 WSRF.NET & GT4 B. Sotomayor and L. Childers. Globus Toolkit 4, Programming Java Services

10 th LectureCOP-4991: Component-Based Software Development 23 Outline  WSRF.NET Architecture  Attribute-based programming  Compatibility with GT4  WSRF Issues

10 th LectureCOP-4991: Component-Based Software Development 24 Stateful vs. Stateless  Service Oriented Architecture –Combines loosely coupled and interoperable services  State clashes with Services Architecture  Bond between client and service –Loose coupling with stateless services –Tighter coupling with stateful services  Proxies mask services as objects

10 th LectureCOP-4991: Component-Based Software Development 25 Complexity of Service-Side Code  Importing port types may raise issues –Port types have their own resources  The state and its Resource Property –If one changes the other one has to change  Unintuitive interface: // No WSRF: CheckPackageIn(Package pkg, string location) // WSRF: CheckPackageIn(string location) Humphrey, M., & Wasson, G. (2004). Architectural Foundation of WSRF.NET.

10 th LectureCOP-4991: Component-Based Software Development 26 Conclusion  WSRF.NET architecture  Complex application logic requires complex infrastructure  WSRF potential is strong  Decoupling will be difficult  WSRF.NET helps WSRF

10 th LectureCOP-4991: Component-Based Software Development 27 References  Architectural Foundations of WSRF.NET by M. Humphrey and G. Wason.  The Open Grid Services Architecture, Version 1.0. I. Foster, H. Kishimoto, A. Savva, D. Berry, A. Djaoui, A. Grimshaw, B. Horn, F. Maciel, F. Siebenlist, R. Subramaniam, J. Treadwell, J. Von Reich. Informational Document, Global Grid Forum (GGF), January 29, 2005.