WWW10 Conference. May 1-5, 2001 - Hong Kong1 Pushing Reactive Services to XML Repositories using ActiveRules Pushing Reactive Services to XML Repositories.

Slides:



Advertisements
Similar presentations
Service Description: WSDL COMP6017 Topics on Web Services Dr Nicholas Gibbins –
Advertisements

Web Service Ahmed Gamal Ahmed Nile University Bioinformatics Group
W3C Workshop on Web Services Mark Nottingham
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 12 Slide 1 Distributed Systems Design 2.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
Distributed Heterogeneous Data Warehouse For Grid Analysis
Rheeve: A Plug-n-Play Peer- to-Peer Computing Platform Wang-kee Poon and Jiannong Cao Department of Computing, The Hong Kong Polytechnic University ICDCSW.
XML Technologies and Applications Rajshekhar Sunderraman Department of Computer Science Georgia State University Atlanta, GA 30302
CSE 636 Data Integration Web Services.
A Mobile Agent Infrastructure for QoS Negotiation of Adaptive Distributed Applications Roberto Speicys Cardoso & Fabio Kon University of São Paulo – USP.
Configuration Management
Service Broker Lesson 11. Skills Matrix Service Broker Service Broker, provides a solution to common problems with message delivery and consistency that.
UNIT-V The MVC architecture and Struts Framework.
SQL Server Notification Services Andy Potter Senior System Consultant SQL Server Notification Services Intellinet.
SOA, BPM, BPEL, jBPM.
A Scalable Application Architecture for composing News Portals on the Internet Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta Famagusta.
XForms: A case study Rajiv Shivane & Pavitar Singh.
Web Services Mohamed Fahmy Dr. Sherif Aly Hussein.
©Ian Sommerville 2006Software Engineering, 8th edition. Chapter 12 Slide 1 Distributed Systems Architectures.
T Network Application Frameworks and XML Web Services and WSDL Sasu Tarkoma Based on slides by Pekka Nikander.
WSDL: Web Services Definition Language CS 795/895.
Chapter Intranet Agents. Chapter Background Intranet: an internal corporate network based on Internet technology. Typically, an intranet can.
Event-Condition-Action Rule Languages over Semistructured Data George Papamarkos.
OASIS ebXML Registry Standard Open Forum 2003 on Metadata Registries 10:30 – 11:15 January 20, 2003 Kathryn Breininger The Boeing Company Chair, OASIS.
DP&NM Lab. POSTECH, Korea - 1 -Interaction Translation Methods for XML/SNMP Gateway Interaction Translation Methods for XML/SNMP Gateway Using XML Technologies.
James Holladay, Mario Sweeney, Vu Tran. Web Services Presentation Web Services Theory James Holladay Tools – Visual Studio Vu Tran Tools – Net Beans Mario.
Web Services Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Web Services based e-Commerce System Sandy Liu Jodrey School of Computer Science Acadia University July, 2002.
RELATIONAL FAULT TOLERANT INTERFACE TO HETEROGENEOUS DISTRIBUTED DATABASES Prof. Osama Abulnaja Afraa Khalifah
Interoperability between Scientific Workflows Ahmed Alqaoud, Ian Taylor, and Andrew Jones Cardiff University 10/09/2008.
XML Web Services Architecture Siddharth Ruchandani CS 6362 – SW Architecture & Design Summer /11/05.
Middleware for FIs Apeego House 4B, Tardeo Rd. Mumbai Tel: Fax:
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
Chris Kuruppu NWS Office of Science and Technology Systems Engineering Center (Skjei Telecom) 10/6/09.
Introduction to Server-Side Web Development Introduction to Server-Side Web Development using JSP and Web Services JSP and Web Services 18 th March 2005.
By: PHANIDEEP NARRA. OVERVIEW Definition Motivation.NET and J2EE Architectures Interoperability Problems Interoperability Technologies Conclusion and.
Secure Systems Research Group - FAU SW Development methodology using patterns and model checking 8/13/2009 Maha B Abbey PhD Candidate.
Distribution and components. 2 What is the problem? Enterprise computing is Large scale & complex: It supports large scale and complex organisations Spanning.
XML and Web Services (II/2546)
S imple O bject A ccess P rotocol Karthikeyan Chandrasekaran & Nandakumar Padmanabhan.
WEB SERVICE DESCRIPTION LANGUAGE (WSDL). Introduction  WSDL is an XML language that contains information about the interface semantics and ‘administrivia’
INRIA - Progress report DBGlobe meeting - Athens November 29 th, 2002.
Representational State Transfer (REST). What is REST? Network Architectural style Overview: –Resources are defined and addressed –Transmits domain-specific.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
AMQP, Message Broker Babu Ram Dawadi. overview Why MOM architecture? Messaging broker like RabbitMQ in brief RabbitMQ AMQP – What is it ?
Dispatching Java agents to user for data extraction from third party web sites Alex Roque F.I.U. HPDRC.
Slide 1 Service-centric Software Engineering. Slide 2 Objectives To explain the notion of a reusable service, based on web service standards, that provides.
Developing Web Services with the Eclipse Web Tools Platform David Gallardo.
Component Patterns – Architecture and Applications with EJB copyright © 2001, MATHEMA AG Component Patterns Architecture and Applications with EJB Markus.
1 Java Server Pages A Java Server Page is a file consisting of HTML or XML markup into which special tags and code blocks are inserted When the page is.
Lecture VI: SOAP-based Web Service CS 4593 Cloud-Oriented Big Data and Software Engineering.
Web Service Definition Language. Web Services: WSDL2 Web Service Definition Language ( WSDL ) What is a web service? [ F. Leymann 2003 ] A piece of code.
OASIS ebXML Registry Standard Open Forum 2003 on Metadata Registries 10:30 – 11:15 January 20, 2003 Kathryn Breininger The Boeing Company Chair, OASIS.
The overview How the open market works. Players and Bodies  The main players are –The component supplier  Document  Binary –The authorized supplier.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTERSTAGE BPM ARCHITECTURE BPMS.
SOAP, Web Service, WSDL Week 14 Web site:
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
XML and Distributed Applications By Quddus Chong Presentation for CS551 – Fall 2001.
Design of a Notification Engine for Grid Monitoring Events and Prototype Implementation Natascia De Bortoli INFNGRID Technical Board Bologna Feb.
1 Seminar: Pervasive Computing 2004 Automatic mobile device configuration: Status & open challenges Stefan Hoferer Supervisor: Andreas Fasbender.
A Semi-Automated Digital Preservation System based on Semantic Web Services Jane Hunter Sharmin Choudhury DSTC PTY LTD, Brisbane, Australia Slides by Ananta.
Sabri Kızanlık Ural Emekçi
Distribution and components
Ch > 28.4.
Wsdl.
Introduction to Web Services and SOA
Service-centric Software Engineering
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
Introduction to Web Services and SOA
Presentation transcript:

WWW10 Conference. May 1-5, Hong Kong1 Pushing Reactive Services to XML Repositories using ActiveRules Pushing Reactive Services to XML Repositories using Active Rules Angela Bonifati, Stefano Ceri, Stefano Paraboschi Politecnico di Milano (Italy) Speaker: Angela Bonifati

WWW10 Conference. May 1-5, Hong Kong2 Outline l Problem Definition n The need of prompt e-services over the Internet l Solution n Distributed reactive services enabled by XML technology n Rules are installed on remote systems and promptly monitor the changes l Architectural framework l Implementation l Conclusions

WWW10 Conference. May 1-5, Hong Kong3 Problem Definition Push technology is a convenient solution to deliver updated information to end-users So far “Pushing logic” has been broadly applied in IS but only with local mechanisms Internet services offer an infrastructure for the implementation of many different architectures XML and XML-based protocols are a central component of Internet services XML active rules permit the construction of distributed push technology

WWW10 Conference. May 1-5, Hong Kong4 Our solution in a nutshell ECA paradigm on XML documents to bear notification services Rules located close to the data (remote installation) A simple subscription protocol for rule negotiation and a suitable application scenario The broadening XML technologies to cook up our framework XML, XQuery, DOM Level 2, SOAP

WWW10 Conference. May 1-5, Hong Kong5 The renewed ECA Paradigm Active rules for Notification Services follow the ECA paradigm: Events: DOM mutating events generated whenever the XML docs are modified; Conditions: queries on the document base, using a suitable XML query language (e.g.: XQuery); Actions: invocations of SOAP methods implementing calls to a message delivery system

WWW10 Conference. May 1-5, Hong Kong6 Active Rules at work The event specification is expressed by the DOM Level 2 API and generates the data bindings to be passed to the condition- action part In the Condition, predefined variables new and old are declared in a similar way to transition variables in databases In the Action, SOAP methods implement the transfer of information to recipients; The Action is “simplicistic” and receives parameters from conditions; to prevent problems related to rule termination, updates of XML data are avoided.

WWW10 Conference. May 1-5, Hong Kong7 A simple rule insert(//cd) FOR $a IN //cd WHERE $a=$new AND $a/price < 20 AND contains($a/author,"Milli Vanilli") RETURN $a /notification notify <SOAP-ENV:Envelope xmlns:SOAP- ENV=" soap/envelope" SOAP-ENV:encodingStyle=" schemas.xmlsoap.org/soap/encoding"> <m:Notify xmlns:m=" /methods"> $a//*

WWW10 Conference. May 1-5, Hong Kong8 Architectural framework Service Reseller XML Repository Rule Engine Service Suppliers Rule Subscription Protocol Rule Repository Rule Broker Service Broker Rules Messages Requests Web & Mail Interfaces Clients

WWW10 Conference. May 1-5, Hong Kong9 Actors Service Reseller Focus: interaction with the final user Recipient of messages produced by rule actions Service Broker Focus: Construction of rules satisfying the user needs Intermediary between resellers and suppliers Service Supplier Focus: Management of XML information Internet site equipped with a rule execution engine

WWW10 Conference. May 1-5, Hong Kong10 An example: the real estate agency (1) Consider a real estate agency application: example of request : a furnished four-bedroom (or more), two- bathrooms (or more) Victorian house, which costs $1,500,000 or less, located in the Marina area in San Francisco No matching is found on the house agency Web sites!

WWW10 Conference. May 1-5, Hong Kong11 A reactive service is invoked: A request is sent from the Service Reseller to the Service Broker A set of rules are agreed by defining their contract and by setting the proper authorization through the Rule Subscription Protocol The rules are installed into several house agency XML Servers (Service Suppliers) When the targeted house appears on the market, the rules produce the response messages, which are delivered from the XML Server to the Service Reseller An example: the real estate agency (2)

WWW10 Conference. May 1-5, Hong Kong12 Pieces of XML/SOAP code update($a) OR insert($a) FOR $a IN document( )//housestobuy/house, WHERE $a//cost < AND contains($a//style,"victorian") AND contains($a//description,"furnished") AND $a//nr_of_bedrooms >= 4 AND $a//nr_of_bathrooms >= 2 AND $a//city="San Francisco" AND $a//area="Marina" AND empty($a//sold_to) RETURN $a <SOAP-ENV:Envelope xmlns:SOAP- ENV=" soap/envelope" SOAP-ENV:encodingStyle=" schemas.xmlsoap.org/soap/encoding"> <m:DeliverHouseNews xmlns:m=" housemediator.com/soap/methods"> $a//*

WWW10 Conference. May 1-5, Hong Kong13 The B2B interface The Rule Broker and the Service Supplier communicate through a B2B protocol, which is both technical and business-oriented This protocol is based upon four SOAP primitives, that are invoked by the Service Broker and supported by the Service Supplier The Service Broker is required to know well how to write rules and how to submit them to the Service Supplier The Service Reseller can be the final user of the notification server or a mediator which interacts with the final user through a friendly interface

WWW10 Conference. May 1-5, Hong Kong14 The SOAP primitives (1) Connect: Instead of using a stateless connection a-la HTTP, this SOAP primitive warrants a connection to manage more than a single request-response: Subscribe: This primitive permits the submission of a rule to a server with a specified contract: ConnectionId Connect (in AuthenticatedUser user, in ServerProfile requestedProfile) SubmissionId Subscribe (in ConnectionId openCon, in Rule ruleToSub, in Contract conProp)

WWW10 Conference. May 1-5, Hong Kong15 Unsubscribe: This primitive is invoked when a submitted rule must be removed from the Service Supplier: Disconnect: This primitive closes the connection created by the Connect primitive and frees the resources that were allocated for the connection: void Disconnect (in ConnectionId openCon) void Unsubscribe (in ConnectionId openCon, in SubmissionId SubId) The SOAP primitives (2)

WWW10 Conference. May 1-5, Hong Kong16 Rule Packaging The Subscribe primitive presents a ProposedContract parameter, which specifies the contract to be agreed by each part in the transaction The contract should include the remuneration information and the guarantees of each rule The contract is the “sine qua non” of a B2B initiative In our solution, the contract is application-dependent and has to be defined rule per rule. From the real estate ex.: 0 none

WWW10 Conference. May 1-5, Hong Kong17 Implementation Needed components: an XML system supporting the DOM Event Model, an XQuery engine, a SOAP implementation: The DOM permits the definition of event listeners, that are attached to each node to be monitored When the event is captured, the XQuery processor evaluates the XQuery condition, possibly returning an XML fragment The SOAP call is built from the query result and executed by the server Much simpler rule engine than in database trigger systems

WWW10 Conference. May 1-5, Hong Kong18 DOM Event detection Two main strategies: centralized: a single event listener associated with the root of the document fragmented: a set of event listeners, associated with every node instance on which events need to be monitored Impact on system performance

WWW10 Conference. May 1-5, Hong Kong19 Conclusions Active rules for pushing reactive services has a great potential The reuse of current Web standards makes the implementation relatively easy Some obstacles remain: pre-knowledge of the schema of XML resources risks of external rule execution scalability issues