XML-Tuples & XML-Spaces V0.7 By David “Uncle Dave” Moffat Presented by: Shurug Al-Khalifa.

Slides:



Advertisements
Similar presentations
XPointer and HTTP Range A possible design for a scalable and extensible RDF Data Access protocol. Bryan Thompson draft Presented to the RDF.
Advertisements

Intro to Scala Lists. Scala Lists are always immutable. This means that a list in Scala, once created, will remain the same.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification.
Chapter 8 Improving the User Interface
1 UIM with DAML-S Service Description Team Members: Jean-Yves Ouellet Kevin Lam Yun Xu.
ColdFusion 8 Ajax Features Overview Scott Bennett
JavaSpaces and TSpaces Theresa Tamash CDA 5937 November 4, 2002.
Overview of basic Queries Single Item And Query Or Query.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 5 More SQL: Complex Queries, Triggers, Views, and Schema Modification.
Remote Method Invocation
Need for SOA database for storing SOA data Divya Gade Rejitha Rajasekhar.
Automated Estimation and Evaluation of SQL-injection Vulnerabilities Jonas Persson, Group 30 - Language based security 2006.
Let’s try Oracle. Accessing Oracle The Oracle system, like the SQL Server system, is client / server. For SQL Server, –the client is the Query Analyser.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 13 Introduction to SQL Programming Techniques.
Chapter 4 : Query Languages Baeza-Yates, 1999 Modern Information Retrieval.
How Does Remote Method Invocation Work? –Systems that use RMI for communication typically are divided into two categories: clients and servers. A server.
Database Systems More SQL Database Design -- More SQL1.
Introduction to Structured Query Language (SQL)
Web Proxy Server. Proxy Server Introduction Returns status and error messages. Handles http CGI requests. –For more information about CGI please refer.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
CVSQL 2 The Design. System Overview System Components CVSQL Server –Three network interfaces –Modular data source provider framework –Decoupled SQL parsing.
Ragnar Engnes, Virinco Martin Lentz, Virinco. Client overview (Ragnar).NET Converter in C# (Ragnar) LabVIEW Toolkit (Martin)
Introduction to SQL Structured Query Language Martin Egerhill.
Chapter 06: Lecture Notes (CSIT 104) 1 Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved.
TupleSpaces Revisited: Linda to TSpaces Ben Y. Zhao 13 July, 1998 UC Berkeley Computer Science Division.
CSCI 6962: Server-side Design and Programming Introduction to AJAX.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 7 INTRODUCTION TO STRUCTURED QUERY LANGUAGE (SQL) Instructor Ms. Arwa.
Designing and Implementing Web Data Services in Perl
CSE314 Database Systems More SQL: Complex Queries, Triggers, Views, and Schema Modification Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson.
Chapter 7 Advanced SQL Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
JavaSpaces TM By Stephan Roorda Source: JavaSpaces specification.
Copyright © 2008 Pearson Prentice Hall. All rights reserved Chapter 6 Data Tables and Amortization Tables Exploring Microsoft Office Excel 2007.
7 1 Chapter 7 Introduction to Structured Query Language (SQL) Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
IBM TSpaces Lab 1 Introduction. Summary TSpaces Overview Basic Definitions Basic primitive operations Reading/writing tuples in tuplespace HelloWorld.
Introduction to Biometrics Dr. Bhavani Thuraisingham The University of Texas at Dallas Lecture #23 Biometrics Standards - II November 14, 2005.
CpSc 462/662: Database Management Systems (DBMS) (TEXNH Approach) Stored Procedure James Wang.
Title of Presentation Name Date 2011 Presentation Template.
What’s New In Denali - TSQL David Ballantyne. Who am I Kent.Net/SqlServer.
SNOWTAM Trial: REST Interface. AIXM XML Developers' Seminar 2 Contents Digital-SNOWTAM Trial Introduction REST Introduction REST in the Digital-SNOWTAM.
Distributed Systems Principles and Paradigms Chapter 12 Distributed Coordination-Based Systems 01 Introduction 02 Communication 03 Processes 04 Naming.
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Instructor: Craig Duckett Lecture 08: Thursday, October 22 nd, 2015 Patterns, Order of Evaluation, Concatenation, Substrings, Trim, Position 1 BIT275:
Database Systems Design, Implementation, and Management Coronel | Morris 11e ©2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or.
Efficient RDF Storage and Retrieval in Jena2 Written by: Kevin Wilkinson, Craig Sayers, Harumi Kuno, Dave Reynolds Presented by: Umer Fareed 파리드.
Scaling Heterogeneous Databases and Design of DISCO Anthony Tomasic Louiqa Raschid Patrick Valduriez Presented by: Nazia Khatir Texas A&M University.
IBM TSpaces Lab 3 Transactions Event Registration.
IBM TSpaces Lab 2 Customizing tuples and fields. Summary Blocking commands Tuple Expiration Extending Tuples (The SubclassableTuple) Reading/writing user.
AS Level ICT Data entry: Creating validation checks.
Tanenbaum & Van Steen, Distributed Systems: Principles and Paradigms, 2e, (c) 2007 Prentice-Hall, Inc. All rights reserved DISTRIBUTED.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
Starting with Oracle SQL Plus. Today in the lab… Connect to SQL Plus – your schema. Set up two tables. Find the tables in the catalog. Insert four rows.
Current Topic – EPP - TWNIC Jeff Yeh
Z39.50 A Basic Introduction Kathleen R. Murray, Ph.D. William E. Moen, Ph.D. May 2002.
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe.
Web Database Programming Using PHP
More SQL: Complex Queries, Triggers, Views, and Schema Modification
More SQL: Complex Queries,
Test 2 Review Outline.
Relational Database Design
What’s new in the SIF3 World?
z/Ware 2.0 Technical Overview
Web Database Programming Using PHP
Chapter 13 - The Preprocessor
Development using This presentation shows the steps required in ENIGMA to create a Program for inclusion into a Demonstration system. Once the program.
Chapter # 7 Introduction to Structured Query Language (SQL) Part II.
Nate Brunelle Today: Repetition, Repetition
Microsoft Excel Chapters 2 &3
Contents Preface I Introduction Lesson Objectives I-2
Lesson 3 Chapter 10.
Chapter 8 Advanced SQL.
Presentation transcript:

XML-Tuples & XML-Spaces V0.7 By David “Uncle Dave” Moffat Presented by: Shurug Al-Khalifa

2 Outline Overview of Tuple Spaces and XML-Spaces. Basic XML-Spaces & XML-Tuples operations. Database operations on XML-Spaces. Extended Database Queries on XML-Spaces.

3 Introduction Implementation of tuples and tuple-spaces using XML. Tuple  list of values (“Sam”, 7, 48.1). Tuple Space  public repository that contains tuples. Template  tuple set up for matching. Using XML for the tuples and the commands.

4 Definitions XML-tuple  list of data fields in an XML format. Data field  XML-tagged data. Ralph XML-tuple field values are strings. XML-space  tuple space with XML tuples. An XML-space: – Referenced by a name. – Located on a server.

5 Creating and Communicating with an XML-Space “do” method. Commands and parameters expressed in XML. XMLSpace xs = new XMLSpace (“MySpace”,“server.mine.org”);

6 Writing XML-Tuples to an XML- Space String strTuple=“ ”+ “ Ralph ”+ “ 33 ”+ “ ”+ “ ”; String strResult; strResult=xs.do(strTuple); Returns with If error, message with

7 Writing Several XML-Tuples at Once Concatenate several into one string. Ralph :

8 Matching XML-Tuples Create a template. Template  XML-Tuple where fields may or may not have value in them.

9 Reading XML-Tuples from an XML- Space Read only. Match a template. 33 Returns with If not Found, NULL is returned. If error, message with

10 Reading XML-Tuples from an XML- Space Read and remove. Match a template. 33 Returns with If not Found, NULL is returned. If error, message with

11 Reading XML-Tuples from an XML- Space If client has to find a match. Read  Read and remove  xs.do returns: Tuple if a match is found. If a match is not found, waits until tuple exists then returns it.

12 Reading Several XML-Tuples at Once Read only. Match a template. 33 Returns list of tuples with If not Found, NULL is returned. If error, message with

13 Reading Several XML-Tuples at Once Read and remove. Match a template. 33 Returns list of tuples with If not Found, NULL is returned. If error, message with

14 Counting the Number of Matching XML-Tuples Match a template. 33 Returns number of tuples found with If error, message with

15 Registering for XML-Space Events Event  operation on an XML-space. 1. XMLSpaceListener interface. 2. Register as a Listener. 3. Give a template to the space.

16 Registering for XML-Space Events . XMLSpaceListener interface. Interface XMLSpaceListener { handleXMLSpaceEvent(String tuple, String space, String host, long lNum, boolean bErr); } If error, message with in “tuple”.

17 Registering for XML-Space Events . Register as a Listener. 3. Give a template to the space. xs.addXMLSpaceListner(this,tplt) Can register for different operations and templates Template

18 XML-Space Queries Basic query = scan 33 Returns a tuple or a list of tuples with If not Found, NULL is returned. If error, message with

19 ANDing XML-Space Queries Match with two given query templates. : : Returns a tuple or a list of tuples with If not Found, NULL is returned. If error, message with

20 ORing XML-Space Queries Match with one or both given query templates. : : Returns a tuple or a list of tuples with If not Found, NULL is returned. If error, message with

21 Range Queries Match with values within template range. : : Returns a tuple or a list of tuples with If not Found, NULL is returned. If error, message with Upper Limit Lower Limit

Nested Queries : : : :

23 XML-Space Transactions Used to perform an operation only if it is successful. : : Everything is OK  Anything is unsuccessful 

24 Matching to Different “Depths” A field: - have content but not subfields be Null and have subfields. Karl Martin - have content and subfields

25 Partial XML-Tuple Templates Partial Template  does not specify all the fields or the subfields. Ann Arbor

26 Partial XML-Tuple Templates with Wildcards Used to match upper-level fields of template. Breadth-wise Ann Arbor Depth-wise Ann Arbor

27 Conclusion Tuple Spaces and XML-Spaces. Operations on XML-Spaces & XML-Tuples. Querying XML-Spaces.