Type Checking XML Transformations Thomas Perst

Total Page:16

File Type:pdf, Size:1020Kb

Type Checking XML Transformations Thomas Perst Institut fur¨ Informatik der Technischen Universitat¨ Munchen¨ Lehrstuhl Informatik II Type Checking XML Transformations Thomas Perst Vollstandiger¨ Abdruck der von der Fakultat¨ fur¨ Informatik der Technischen Universitat¨ Munchen¨ zur Erlangung des akademischen Grades eines Doktors der Naturwissenschaften (Dr. rer. nat.) genehmigten Dissertation. Vorsitzender: Univ.-Prof. Alfons Kemper, Ph.D. Prufer¨ der Dissertation: 1. Univ.-Prof. Dr. Helmut Seidl 2. Ass. Prof. Dr. Frank Neven, Univ. of Limburg/Belgien Die Dissertation wurde am 04.09.2006 bei der Technischen Universitat¨ Munchen¨ eingereicht und durch die Fakultat¨ fur¨ Informatik am 13.02.2007 angenommen. Acknowledgments I wish to thank Helmut Seidl for inspiring me to conduct my research in the field of XML transformations, and I feel deep gratitude towards him for guiding me like Virgil through the circles of tree transducers. He employed me on a project position providing ideal conditions for conducting my re- search. It was funded by the “Deutsche Forschungs Gemeinschaft” under the headword “MttCheck”. I am grateful to many colleagues who in one way or another contributed to this thesis. Special thanks to Thomas Gawlitza, Ingo Scholtes, and Peter Ziewer for careful reading of the manuscript and for their helpful comments and suggestions. Last but not least, I want to thank Jennifer for her love and constant sup- port on the stony path of writing this work. Abstract XML documents are often generated by some application in order to be pro- cessed by a another program. For a correct exchange of information it has to be guaranteed that for correct inputs only correct outputs are produced. The shape of correct documents, i.e., their type, is usually specified by means of schema languages. This thesis is concerned with methods for statically guaranteeing that transformations are correct with respect to pre-defined types. Therefore, we consider the XML transformation language TL abstracting the key features of common XML transformation languages. We show that each TL program can be decomposed into at most three stay macro tree transducers. By means of classical results for stay macro tree transducers, this decomposition allows to formulate a type checking algo- rithm for TL. This method, however, has even for small programs an exorbi- tant run-time. Therefore, we develop an alternative approach, which allows at least for a large class of transformations that they can be type checked in polynomial time. The developed algorithms have been implemented and tested for prac- tical examples. Zusammenfassung XML-Dokumente werden oft von Anwendungen erzeugt, um von anderen Anwendungen konsumiert zu werden. Fur¨ einen korrekten Informations- austausch muss garantiert werden, dass fur¨ korrekte Eingaben nur korrekte Ausgaben erzeugt werden. Die vorliegende Arbeit untersucht Methoden, um statisch zu garantieren, dass eine Transformation nur korrekte Ausgaben erzeugt. Dazu betrachten wir die Sprache TL, die die Eigenschaften gangiger¨ XML-Transformationsprachen abstrahiert. Wir zeigen, dass jedes TL Pro- gramm in hochstens¨ drei stay macro tree transducers zerlegt werden kann. Diese Zerlegung erlaubt, ein Typuberpr¨ ufungsverfahr¨ en zu konstruieren. Dieses weist allerdings selbst fur¨ kleine Programme exorbitante Laufzeiten auf. Darum entwickeln wir einen alternativen Ansatz, der zumindest fur¨ eine große Klasse praktischer Transfromationen Typuberpr¨ ufung¨ in poly- nomieller Zeit erlaubt. Beide Ansatze¨ wurden implementiert und an prak- tischen Beispielen getestet. Contents 1 Introduction . 1 2 Preliminaries . 7 2.1 Trees and Forests . 7 2.2 Tree Substitution . 12 2.3 Finite-state Tree Automata . 13 2.4 Monadic Second-Order Logic . 15 2.5 Notes and References . 17 3 The Transformation Language TL . 19 3.1 Definition . 21 3.2 Example . 24 3.3 Induced Transformation . 26 3.3.1 Denotational Semantics . 27 3.3.2 Operational Semantics . 28 3.4 Notes and References . 30 4 Stay Macro Tree Transducers . 33 4.1 Definition . 34 4.2 Induced Tree Transformation . 35 4.2.1 Denotational Semantics . 37 4.2.2 Operational Semantics . 39 4.3 Basic Properties . 41 4.4 Stay Macro Forest Transducers . 46 4.4.1 Induced Transformation . 47 4.4.2 Characterization . 50 4.5 Stay-Mtts with Regular Look-ahead . 57 4.6 Notes and references . 58 XIV Contents 5 Type Checking TL Programs . 63 5.1 Annotating the Input . 66 5.2 Removing Global Selection . 69 5.3 Removing Up Moves . 75 5.4 The Decomposition by Example . 83 5.5 Notes and References . 85 6 Type Checking by Forward Type Inference . 89 6.1 Intersection with Regular Languages . 91 6.2 Shortening of Right-hand Sides . 93 6.3 Linear Stay-Mtts . 94 6.4 b-bounded Stay-Mtts . 99 6.5 Stay Macro Forest Transducers . 102 6.6 Forward Type Checking by Example . 106 6.7 Notes and References . 109 7 Implementation of a Type Checker . 111 7.1 A Type Checker Tutorial . 112 7.2 The Implementation Details . 115 7.2.1 Representation of Macro Tree Transducers . 116 7.2.2 Pre-Image Computation . 119 7.2.3 Implementation of Forward Type Inference . 121 7.2.4 Realization of Emptiness Check . 123 7.2.5 Tuning the Macro Tree Transducer . 124 7.3 Dealing with Infinite Alphabets . 125 7.4 Dealing with Attributes . 127 7.5 Notes and References . 128 8 Conclusion . 131 A Proofs . 133 A.1 Proof of Theorem 3.7 . 134 A.1.1 Outside-in Evaluation . 135 A.1.2 Inside-out Evaluation . 138 References . 141 1 Introduction When Axel Thue published his article about logical problems [Thu10; ST00] in 1910, he certainly would not have expected that his ideas of trees and their rewriting will become as popular as 90 years later with the introduction of the Extensible Markup Language (XML). The W3C1, an international consor- tium to develop Web standards, describes this language as “a simple, very flexible text format derived from SGML. Originally designed to meet the challenges of large-scale electronic publishing, XML is also playing an increasingly important role in the exchange of the variety of data on the Web and elsewhere” [Qui06]. More- over, by proposing XML the W3C fulfils its mission “to lead the World Wide Web to its full potential by developing protocols and guidelines that ensure long- term growth of the Web,” because since the publication of the standard in 1998, XML enjoys an increasing popularity in nearly all fields of information tech- nologies. XHTML is an XML format for designing Web pages [Pem02], XSL:FO is a language for outlining general layouts [Adl01], and MATHML provides elements for typesetting mathematical formulas [CIMP03]. With SMIL it is possible to create interactive audio-visual presentations [Hos98]. The biblio- graphic records of the Computer Science bibliography DBLP2 are organized with XML [Ley02]. The office-suite of OpenOffice.org [Man06] uses the Open Document Format, an XML-based file format for office applications [DBO06]. Even this small selection of XML applications shows that Vianu does not ex- aggerate if he denotes XML as the lingua franca of the Web [Via01]. Technically, XML is a meta-language for storing structured data in a se- quential format. Therefore, data are grouped into elements, and each element is enclosed between an opening and closing tag indicating the start and the end of such a logical component. Since elements can be nested, every XML document can be naturally considered as a tree whose nodes are the tags and 1 Worls Wide Web Consortium 2 Digital Bibliography & Library Project 2 1 Introduction whose leafs are the data. Once a document has been structured with XML el- ements, the actual XML share of the document is called markup. One of XML's design goals and advantages over other data formats is that XML is typed. This means, it is possible to specify where each element may occur in a document. For this purpose the W3C recommendation sug- gests document type definitions (DTDs), which provide rules for how the XML elements, attributes, and other data are defined and logically related in a document [BPSM+04]. A document adhering to the XML syntax specifi- cations and the rules outlined by its DTD is considered to be valid. More ex- pressive typing mechanisms are XML Schema [FW04] and Relax NG [Jam01]. They provide more base types for data values like integers, decimals or re- als; moreover, they allow users to define their own types by combining base types. Validity, however, can be checked by a type-aware parser which tests for every element whether the sequence of its children conforms to the spec- ifications made in the type definition. Another advantage of XML certainly is its extensability that allows to cre- ate and format your own document markups. The Web publishing language HTML, for example, consists of a fixed set of elements with a more or less predefined meaning. XML, on the other hand, allows to create new markup at will and, moreover, to specify in a DTD or other schema how this markup is related inside a document. Since “XML data exchange is always done in the context of a fixed type” [AMF+01;AMF+03], a common scenario is that a com- munity (or industry) agrees on a certain type, and all members have to create documents that are of that type. One possibility to asure validity, is to parse every created document and to check if it conforms to the specified type. This method, however, is very time consuming, because every document has to be reread, which takes some time for large documents. Moreover, the same document is repeatedly checked whenever it is created. Since XML documents are often generated dynamically by some pro- gram [Suc02], e.g. as result of the transformation induced by a stylesheet processor, it would be more convenient to check whether all XML documents generated by a program are valid with respect to a specified type.
Recommended publications
  • 20140620075114!12305
    Enhancement of Open Source Monitoring Tool for Small Footprint Databases Dissertation Submitted in partial fulfillment of the requirements for the degree of Master of Technology in Computer Science and Engineering Submitted by Sukh Deo Roll No. 123050061 Under the Guidance of Prof. Deepak B. Phatak Department of Computer Science and Engineering Indian Institute of Technology Bombay Powai, Mumbai, India 400076 June, 2014 Dissertation Approval Certificate Department of Computer Science and Engineering Indian Institute of Technology, Bombay The dissertation entitled \Enhancement of Open Source Monitoring Tool for Small Footprint Databases", submitted by Sukh Deo (Roll No: 123050061) is approved for the degree of Master of Technology in Computer Science and Engineering from Indian Institute of Technology, Bombay. Prof. Deepak B. Phatak Dept. of CSE, IIT Bombay Supervisor Internal Examiner External Examiner Place: IIT Bombay, Mumbai Date: June, 2014 Declaration I declare that this written submission represents my ideas in my own words and where other's ideas or words have been included, I have adequately cited and referenced the original sources. I also declare that I have adhered to all principles of academic honesty and integrity and have not misrepresented or fabricated or falsified any idea/data/fact/source in my submission. I un- derstand that any violation of the above will be cause for disciplinary action by the Institute and can also evoke penal action from the sources which have thus not been properly cited or from whom proper permission has not been taken when needed. Signature Name of Student Roll number Date 3 Acknowledgement I would like to thank my guide, Prof.
    [Show full text]
  • LIST of NOSQL DATABASES [Currently 150]
    Your Ultimate Guide to the Non - Relational Universe! [the best selected nosql link Archive in the web] ...never miss a conceptual article again... News Feed covering all changes here! NoSQL DEFINITION: Next Generation Databases mostly addressing some of the points: being non-relational, distributed, open-source and horizontally scalable. The original intention has been modern web-scale databases. The movement began early 2009 and is growing rapidly. Often more characteristics apply such as: schema-free, easy replication support, simple API, eventually consistent / BASE (not ACID), a huge amount of data and more. So the misleading term "nosql" (the community now translates it mostly with "not only sql") should be seen as an alias to something like the definition above. [based on 7 sources, 14 constructive feedback emails (thanks!) and 1 disliking comment . Agree / Disagree? Tell me so! By the way: this is a strong definition and it is out there here since 2009!] LIST OF NOSQL DATABASES [currently 150] Core NoSQL Systems: [Mostly originated out of a Web 2.0 need] Wide Column Store / Column Families Hadoop / HBase API: Java / any writer, Protocol: any write call, Query Method: MapReduce Java / any exec, Replication: HDFS Replication, Written in: Java, Concurrency: ?, Misc: Links: 3 Books [1, 2, 3] Cassandra massively scalable, partitioned row store, masterless architecture, linear scale performance, no single points of failure, read/write support across multiple data centers & cloud availability zones. API / Query Method: CQL and Thrift, replication: peer-to-peer, written in: Java, Concurrency: tunable consistency, Misc: built-in data compression, MapReduce support, primary/secondary indexes, security features.
    [Show full text]
  • Mobile Application Development Quick Start Guide
    AT&T Developer Program Mobile Application Development Quick Start Guide White Paper Revision 1.1 Revision Date 3/13/2008 © 2008 AT&T Knowledge Ventures This document and the information contained herein (collectively, the "Information") is provided to you (both the individual receiving this document and any legal entity on behalf of which such individual is acting) ("You" and "Your") by AT&T, on behalf of itself and its affiliates ("AT&T") for informational purposes only. AT&T is providing the Information to You because AT&T believes the Information may be useful to You. The Information is provided to You solely on the basis that You will be responsible for making Your own assessments of the Information and are advised to verify all representations, statements and information before using or relying upon any of the Information. Although AT&T has exercised reasonable care in providing the Information to You, AT&T does not warrant the accuracy of the Information and is not responsible for any damages arising from Your use of or reliance upon the Information. You further understand and agree that AT&T in no way represents, and You in no way rely on a belief, that AT&T is providing the Information in accordance with any standard or service (routine, customary or otherwise) related to the consulting, services, hardware or software industries. AT&T DOES NOT WARRANT THAT THE INFORMATION IS ERROR-FREE. AT&T IS PROVIDING THE INFORMATION TO YOU "AS IS" AND "WITH ALL FAULTS." AT&T DOES NOT WARRANT, BY VIRTUE OF THIS DOCUMENT, OR BY ANY COURSE OF PERFORMANCE, COURSE OF DEALING, USAGE OF TRADE OR ANY COLLATERAL DOCUMENT HEREUNDER OR OTHERWISE, AND HEREBY EXPRESSLY DISCLAIMS, ANY REPRESENTATION OR WARRANTY OF ANY KIND WITH RESPECT TO THE INFORMATION, INCLUDING, WITHOUT LIMITATION, ANY REPRESENTATION OR WARRANTY OF DESIGN, PERFORMANCE, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, OR ANY REPRESENTATION OR WARRANTY THAT THE INFORMATION IS APPLICABLE TO OR INTEROPERABLE WITH ANY SYSTEM, DATA, HARDWARE OR SOFTWARE OF ANY KIND.
    [Show full text]
  • Enhancement of the Performance of Monitoring Tool for Small Footprint
    Enhancement of The Performance of Monitoring Tool for Small Footprint Databases MTP Stage-I Report Submitted in partial fulfillment of the requirements for degree of Master of Technology Under guidance of Prof. Deepak B. Phatak Submitted By Sukh deo Rolla No: 123050061 Department of Computer Science and Engineering Indian Institute of Technology Bombay, Mumbai 1 Acknowledgement I would like to extremely thanks my guide, Prof. Deepak B. Phatak, for the consistent directions and guidance throughout the project. Because of his consistent encouragement and right directions, we are able to do this project work. I would like to thanks Mr. Nagesh Karmali for his continuous inputs in my work. I would also like to thank every one else who supported me in this work. 2 Abstract Nowadays, mobile devices are not only use for basic purpose like call, but many different purpose and different applications. We can say mobile de- vices are sibling of personal computers. Mobile device usage patterns are very different as compared to conventional PCs, as the devices are targeted for general users. Mobile devices have some great features, e.g., light weight and efficiency, but it has some drawback like small memory and battery is- sues. Peoples want to use many applications, due to growing the number of purposes, but it challenges to manage the many application in mobile device. Performance of mobile device depends on how to managing our applications and its data. There is a need to measure the performance of various com- monly used applications. Our work start with simple question: does storage affect the performance of mobile device? What kinds of database requires for mobile device? What are the parameter to measure the performance of databases? How to measure the performance of mobile device and its possible tools.
    [Show full text]
  • Testování Embedded Databázových Systémů Benchmarking of Embedded Database Systems
    VŠB – Technická univerzita Ostrava Fakulta elektrotechniky a informatiky Katedra informatiky Testování embedded databázových systémů Benchmarking of Embedded Database Systems 2018 David Tabor Rád bych na tomto místě poděkoval vedoucímu bakalářské práce Ing. Petrovi Chovancovi, Ph. D. za odborné vedení a pomoc při realizaci této práce. Abstrakt Cílem této bakalářské práce je vytvořit univerzální testovací rozhraní pro měření výkonu em- bedded databázových systémů v závilosti na zvoleném indexu, čili datové struktuře. Testo- vací rozhraní bude navrženo tak, aby jej bylo možno jednoduchou implementací doplnit o další embedded databázové systémy. Testy budou probíhat nad zvolenými embedded databázovými systémy, zvolenou datovou strukturou a kolekcí dat, která bude generována nebo nahrána z ex- terního souboru a budou uživatele informovat prodstřednictvím webového rozhraní o stavu a průběhu. Historie testů bude ukládána v lokální databázi pro následné vyhodnocení. Klíčová slova: Embedded databázové systémy, RadegastDB, SQLite, MySQL, Firebird SQL, SQL CE, Sekvenční pole (Halda), B-strom, R-strom, Hašovací tabulka Abstract The aim of this bachelor thesis is to create a universal test interface for measuring the perfor- mance of embedded database systems depending on the selected index, i.e. the data structure. The test interface will be designed to be complemented with other embedded database systems by simple implementation. Tests will run over selected embedded database systems, a selected data structure and a data collection that will be generated or loaded from an external file and will inform users via the web interface about status and progress. The history of the tests will be stored in a local database for subsequent evaluation. Key Words: Embedded database systems, RadegastDB, SQLite, MySQL, Firebird SQL, SQL CE, Sequential array (Heap), B-tree, R-tree, Hash table Obsah Seznam použitých zkratek a symbolů 9 Seznam obrázků 10 Seznam tabulek 11 1 Úvod 12 2 Datové struktury RadegastDB 13 2.1 Sekvenční pole .
    [Show full text]
  • Autonomous Horizons: the Way Forward Is a Product of the Office Air University Press 600 Chennault Circle, Bldg 1405 of the US Air Force Chief Scientist (AF/ST)
    Autonomous Horizons The Way Forward A vision for Air Force senior leaders of the potential for autonomous systems, and a general framework for the science and technology community to advance the state of the art Dr. Greg L. Zacharias Chief Scientist of the United States Air Force 2015–2018 The second volume in a series introduced by: Autonomous Horizons: Autonomy in the Air Force – A Path to the Future, Volume 1: Human Autonomy Teaming (AF/ST TR 15-01) March 2019 Air University Press Curtis E. LeMay Center for Doctrine Development and Education Maxwell AFB, Alabama Chief of Staff, US Air Force Library of Congress Cataloging-in-Publication Data Gen David L. Goldfein Names: Zacharias, Greg, author. | Air University (U.S.). Press, publisher. Commander, Air Education and Training | United States. Department of Defense. United States Air Force. Command Title: Autonomous horizons : the way forward / by Dr. Greg L. Zacha- Lt Gen Steven L. Kwast rias. Description: First edition. | Maxwell Air Force Base, AL : AU Press, 2019. “Chief Scientist for the United States Air Force.” | Commander and President, Air University Lt Gen Anthony J. Cotton “January 2019.” |Includes bibliographical references. Identifiers: LCCN 2018061682 | ISBN 9781585662876 Commander, Curtis E. LeMay Center for Subjects: LCSH: Aeronautics, Military—Research—United States. | Doctrine Development and Education United States. Air Force—Automation. | Artificial intelligence— Maj Gen Michael D. Rothstein Military applications—United States. | Intelligent control systems. | Autonomic
    [Show full text]
  • 2007 Javaonesm Conference Word “BENEFIT” Is in Green Instead of Orange
    there are 3 cover versions: Prospect 1 (Java) It should say “... Save $200!” on the front and back cover. The first early bird pricing on the IFC and IBC should be “$2,495”, and the word “BENEFIT” is in orange. ADVANCE CONFERENCE GUIDE Prospect 2 (Non-Java) The front cover photo and text is different from Prospect 1. The text of the introduction Last Chance to Save $200! Register by April 4, 2007, at java.sun.com/javaone paragraphs on the IFC is also different, the 2007 JavaOneSM Conference word “BENEFIT” is in green instead of orange. Features Java Technology, Open Source, Web 2.0, Emerging Technologies, and More Don’t miss this year’s newly expanded content. Advance your development skills with hundreds of expert-led, in-depth technical sessions in nine tracks over four days: The back cover and the IBC are the same as Consumer Technologies | Java™ SE | Desktop | Java EE | Java ME Prospect 1. The Next-Generation Web | Open Source | Services and Integration | Tools and Languages How to navigate this brochure and easily find what you need... Alumni For other information for Home Conference Overview JavaOnePavilion this year’s Conference, visit java.sun.com/javaone. It should say “... Save $300!” on the front Registration Conference-at-a-Glance Special Programs and back cover. The first early bird pricing on Hyperlinks Bookmark Buttons Search Click on any of the underlined Use the bookmark tab to Click on the buttons at the top Pull down from the Edit menu and the IFC and IBC should be “$2,395”, and the links to visit specific web sites.
    [Show full text]
  • Embedded Database for Remote Process Management System
    Embedded Database for Remote Process Management System {tag} {/tag} IJCA Proceedings on International Conference on Emerging Frontiers in Technology for Rural Area (EFITRA-2012) © 2012 by IJCA Journal EFITRA - Number 4 Year of Publication: 2012 Authors: Kalyani N. Satone Madhuri M . Pal {bibtex}efitra1030.bib{/bibtex} Abstract This paper investigates embedded databases for the MicroBaseJ project. The paper aims at the development of an integrated database and a user interface for a typical 3G mobile phone with Java MIDP2 capability. One of the key objectives is to target a generic solution. A number of commercial sectors could benefit from this solution such as horticulture, building management, pollution/water management, industry etc. Four embedded databases based on J2ME have been investigated. Two of the four have been evaluated and analyzed. The size of processed data is limited to 20000 records when using the wireless toolkit simulator and 11000 records when using a mobile phone. 1 / 3 Embedded Database for Remote Process Management System Refer ences - Mobile and World, "Subscriber statistics end Q1 2007," 2007. - S. Ravi, M. Chathish, and H. Prasanna, "WAP AND SMS BASED EMERGING TECHNIQUES FOR REMOTEMONITORING AND CONTROL OF A PROCESS PLANT," in ICSP'04. 2004 7th International Conference, 2004, pp. 2672-2675. - K. Hung and Y. Zhang, "Implementation of a WAP-Based Telemedicine System for Patient Monitoring," Information Technology in Biomedicine, vol. IEEE Transations on vol. 7, pp. 101-107, June 2003. - M. Nikolova, F. Meijs, and P. Voorwinden, "Remote Mobile Control of Home appliances," Consumer Electronis, vol.
    [Show full text]
  • © 2011 by the 451 Group. All Rights Reserved Nosql, Newsql and Beyond Open Source Driving Innovation in Distributed Data Management
    © 2011 by The 451 Group. All rights reserved NoSQL, NewSQL and Beyond Open Source Driving Innovation in Distributed Data Management Matt hew As lett, The 451 Group [email protected] © 2011 by The 451 Group. All rights reserved Overview – Open source impact in the database market – NoSQL and NewSQL databases • Adoption/development drivers • Use cases – And beyond • Data grid/cache • Cloud databases • Total data © 2011 by The 451 Group. All rights reserved 451 Research is focused on the business of enterprise IT innovation. The company’s analysts provide critical and timely insight into the competitive dynamics of innovation in emerging technology segments. The 451 Group Tier1 Research is a single‐source research and advisory firm covering the multi‐tenant datacenter, hosting, IT and cloud‐computing sectors, blending the best of industry and financial research. The Uptime Institute is ‘The Global Data Center Authority’ and a pioneer in the creation and facilitation of end‐user knowledge communities to improve reliability and uninterruptible availability in datacenter facilities. TheInfoPro is a leading IT advisory and research firm that provides real‐world ppperspectives on the customer and market dynamics of the TOTAL DATA enterprise information technology landscape, harnessing the collective knowledge and insight of leading IT organizations worldwide. ChangeWave Research is a research firm that identifies and quantifies ‘change’ in consumer spending behavior, corporate purchasing, and industry, company and technology trends. © 2011 by The 451 Group. All rights reserved Coverage areas – Senior analyst, enterprise software – Commercial Adoption of Open Source (CAOS) • Adoption by enterprises • Adoption by vendors – Information Management • Databases • Data warehousing • Data caching © 2011 by The 451 Group.
    [Show full text]
  • Obinject: a Noodmg Persistence and Indexing Framework for Object Injection
    ObInject: a NoODMG Persistence and Indexing Framework for Object Injection Luiz O. Carvalho1;2, Thatyana F. P. Seraphim1, Caetano Traina J´unior2, Enzo Seraphim1;∗ 1 Universidade Federal de Itajub´a,Brazil 2 Universidade de S~aoPaulo, Brazil [email protected], [email protected], [email protected], [email protected] Abstract. The object-oriented model has become standard for developing information systems. Consequently, more and more classes have been created to embed business rules and are been instantiated several times, generating a huge amount of objects. In several scenarios, objects must change their state from transient to persistent. Thus, several solutions have been created to meet this need for persistence. Many solutions use frameworks to perform the mapping from objects to relations in database schemas. However, few object persistence frameworks pursue efficiency as a target, for example dealing with index structures like B-Tree, M-Tree and R-Tree simultaneously. This article presents ObInject, a NoODMG framework to support object persistence and indexing (www.obinject.org). Its main feature is to allow objects to be persisted and indexed into any data structure. The framework is divided into four modules based on Design Patterns and provides abstractions for persistence and indexing controllers that are specialized from the user class. We performed extensive experiments evaluating several of its properties and target abstractions, and show that it allows the implementation to achieve significant performance improvements in relation to the existing alternatives. Categories and Subject Descriptors: H.3 [Information Storage and Retrieval]: Information Search and Retrieval; E.2 [Data Storage Representation]: Object representation Keywords: framework, indexing, noODMG, persistence 1.
    [Show full text]
  • About Button, 20 About.Xaml, 28, 74 Aboutview.Xaml, 84–85 Acceptsreturn Property, 202 Acrord32.Exe, 426 Actions Configuring Tr
    Index App class, 28–29 A App.xaml, 28–29, 258, 261, 274 App.xaml.cs, 311 About button, 20 App_Data folder, 21 About.xaml, 28, 74 AppendAllLines method, 470 AboutView.xaml, 84–85 AppendAllText method, 470 AcceptsReturn property, 202 AppendText method, 470 AcroRd32.exe, 426 application dashboards, 404 actions application deployment configuring triggers and actions using adding display content to the pre-loader, Expression Blend, 291 497 creating custom actions, 295 Application_Startup event handler how triggers and actions interact, 291 method, 501 implementing triggers and actions by AppManifest.xaml, 504 hand, 292 AppPreloader.xaml, 496 Microsoft.Expression.Interactions.dll Build Action property, 501 assembly, 291 building a client desktop installer, 494 SubmitChanges method, 291 configuring the application pre-loader in System.Windows.Interactivity.dll the HTML file, 500 assembly, 290 creating a setup program, 488 TargetedTriggerAction, 295 creating a web package, 487 TriggerAction, 295 creating the application pre-loader, 496 using predefined triggers and actions, creating the application pre-loader, 290 XAML code listing, 498 See also triggers customizing and personalizing the Activate method, 434 Silverlight installation experience, Active state, 355 490 Add method, 212 default Silverlight installation process, AddNewItem method, 200 489 Adobe Flash, 4, 11 deploying an application to a client, 488 Adobe Reader plug-in, 404 deploying the server and client Adventure Works Cycles, 101 components to the server, 483 AdventureWorks2008
    [Show full text]
  • Mobile Phone Based Remote Monitoring System
    Mobile Phone based Remote Monitoring System by Danyi Liu A Thesis Submitted in Fulfilment of the Degree of Master of Engineering Auckland University of Technology Auckland June 2008 Acknowledgements I wish to express my gratitude to my supervisor, Professor Adnan Al-Anbuky, for his ongoing guidance, his patience, his excellent advice, and most of all his kind understanding. His high expectations of me encouraged me to perform the best that I could and I respect him for that. I would also like to express my gratitude to Dr. Lin Chen, who had been my co- supervisor for one semester, for his patience and his good advice. I would also like to thank Murray McGovern at Mobile Control Solutions Ltd for his technical and project support. His help has been very valuable. Thanks also to Mr. Hong Zhang at MCS and to Sean Tindle, both of whom tolerated me and aided me in my quest so supportively. Thanks to David Parker for his proof reading of my work and his advice. I appreciate also, so much, my family’s interest and encouragement, without which I would not have had this opportunity. i Abstract This thesis investigates embedded databases and graphical interfaces for the MicroBaseJ project. The project aim is the development of an integrated database and GUI user interface for a typical 3G, or 2.5G, mobile phone with Java MIDP2 capability. This includes methods for data acquisition, mobile data and information communication, data management, and remote user interface. Support of phone delivered informatics will require integrated server and networking infrastructure research and development to support effective and timely delivery of data for incorporation in mobile device-based informatics applications.
    [Show full text]